[MERGE] Use relative paths with shelve

Jelmer Vernooij jelmer at vernstok.nl
Sat Dec 13 00:14:57 GMT 2008


Am Freitag, den 12.12.2008, 16:10 -0800 schrieb Aaron Bentley:
> John Arbash Meinel wrote:
> > ^- I'm a bit curious why you feel the need to use a "directory='.'"
> > argument
> > rather than using "builtins.tree_files()".
> > Considering you can do:
> > bzr add workingtree/path/file
> > 
> > but
> > 
> > bzr shelve workingtree/path/file
> > 
> > Will fail with your current design.
> 
> I've never felt very happy with that model.  It's fine for single files,
> but specifying "bzr shelve path/workingtree/file1 path/workingtree/file2
> path/workingtree/file3 path/workingtree/file4" seems like a real pain.
> 
> Whereas specifying "bzr shelve -d path/workingtree file1 file2 file3
> file4" seems a lot nicer.
I use bzr shelve path/workingtree{file1,file2,file3,file4}. That also
has the advantage that your shell can do completion for you.

Cheers,

Jelmer




More information about the bazaar mailing list