How to use shelf1?

John Arbash Meinel john at arbash-meinel.com
Thu Dec 3 19:46:19 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Óscar Fuentes wrote:
> John Arbash Meinel <john at arbash-meinel.com> writes:
> 
>> shelve1 is an older command that
> [snip]
> 
> Thanks again, John. This is an important piece of info for the Emacs
> project as a developer there is working on an interface to `shelve'.
> 
> The problems found so far with `shelve' are:
> 
> 1. It doesn't support viewing the shelved patches. shelve1/shelf1
> supports that, but with the limitations you mention.
> 
> 2. It doesn't support specifying the diff hunks to shelve on a
> non-interactive way. Right now this limits the ability of the Emacs
> interface to doing `bzr shelve --all', which reduces its convenience
> quite a bit.
> 

So as an emacs developer, I would assume you tend to edit *in* emacs.

How would you specify the diff hunks in a non-interactive way? You can
specify specific files with --all, such as:

 bzr shelve --all just/one/file

etc.

I'll also note that Vincent uses Emacs as his primary editor, and he
says that emacs diff-mode is his preferred method of handling this sort
of thing. I don't know if that means he wishes diff-mode could call out
to shelve, or if he just likes how it handles going between
"unified-diff" and full-text editing. I'm CCing him, so he can give his
experience w/ shelve and emacs.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksYFYsACgkQJdeBCYSNAAMQkwCeMvZr6guCh/b6Ai7TTlNxKgBx
FEgAoMnLOEty4nJiORAu4q/D459GlSbM
=JjNw
-----END PGP SIGNATURE-----



More information about the bazaar mailing list