On Fri, Dec 08, 2006 at 11:58:02PM +0100, Eric Y. Kow wrote:
> On Fri, Dec 08, 2006 at 09:46:22 -0800, Lev Lvovsky wrote:
> > 2.  When leaving work, I pull my private repo to my laptop so that I  
> > can do work while not connected to the network.  The 'record's that I  
> > do at that point to my work repo are for lack of a better word,  
> > intermediate, meaning they're just something to write down and save  
> > my current changes, but generally I don't want other people to see  
> > these annotations.
> > 
> > 3.  When I'm done and want to push to my public repo, I'd like for  
> > the "intermediate" changes, and their annotations to be combined into  
> > one effective patch, without all of the intermediate patches or steps.
> 
> For this kind of situation, I tend to name my patches something like
> DRAFT: blah blah blah.
> 
> You can then do something like darcs obliterate -p DRAFT
> and then darcs record

Are you sure obliterate is the right thing to use here?  According to the
help:

"Obliterate completely removes recorded patches from your local repository.
The changes will be undone in your working copy and the patches will not be
shown in your changes list anymore."

The "changes will be undone in your working copy" bit makes me think that
it'll do a little too much damage to the repository.  I think 'unrecord' is
more the sort of thing that you'd want.  I note that 'unrecord' takes the
same -p option, which makes your unique string suggestion still workable.

- Matt

-- 
"For once, Microsoft wasn't exaggerating when they named it the 'Jet Engine'
-- your data's the seagull."
                -- Chris Adams

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to