Introducing Shelf 2
Alexander Belchenko
bialix at ukr.net
Thu Oct 9 08:11:10 BST 2008
Aaron Bentley пишет:
> Hi all,
>
> Most Bazaar users seem to love the 'shelf' command. I think it's
> fantastically useful, and that's not vanity because the primary author
> was Michael Ellerman.
>
> Nice as it is, shelf has limitations because it's based on applying
> patches. It can't shelve renames. It can shelve added files, but won't
> restore their file ids when you unshelve. Basically, it's not as close
> to revert as it ought to be, which leaves users having to decide whether
> they need shelf or revert.
Shelf 1 is also unable to shelve binary files.
> Shelf 2 is by no means complete. But it is already better than shelf in
> some respects (rename, better add, better remove, better conflict
> handling), and usable enough for me to start using. If you'd like to
> try it, you'll need:
>
> http://code.aaronbentley.com/bzr/shelf2/shelf-ui
> A Bazaar patched with
> http://bundlebuggy.aaronbentley.com/download_patch/%3C48ED767A.7000904@aaronbentley.com%3E
> BzrTools revno 666 (or later)
>
> Future work will likely include
> - making the serialized format more compact
> - making _get_one_revision_tree and _ChangeReporter into public symbols
> - shelving single files
> - shelving kind changes
> - unshelving changes from a specified position in the stack.
Do you plan to support shelving binary files?
More information about the bazaar
mailing list