[RFC] CURRENT_TREE_REVISION ?

Robert Collins robertc at robertcollins.net
Fri Jun 16 13:46:34 BST 2006


On Fri, 2006-06-16 at 14:35 +0200, Matthieu Moy wrote:
> Robert Collins <robertc at robertcollins.net> writes:
> 
> > I'm thinking of adding a new special revision marker, like null: is
> > today, which will be current:.
> 
> I suppose you mean in the code.
> 
> It would be nice to have it also in the user-interface. Currently, you
> can easily say "the last revision of the branch" (-r last:1), but if
> your tree is not up-to-date, how do you say "the revision of the
> working tree" ?

Its the default for most operations (i.e. bzr diff -r -2) is a diff from
-2 to the working tree, but I agree having an explicit marker to selec
the working tree may well be useful.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060616/75ede6f8/attachment.pgp 


More information about the bazaar mailing list