In message <address@hidden> on Thu, 24 Aug 2006 17:40:17 +0100, "Andy Jones"
<address@hidden> said:
andyjwork> Alternatively I could just write a script that did 'mtn update -r
t:test' !
andyjwork>
andyjwork> (Um, that +would+ get the +latest+ revision with that tag, right?)
No, if there is more than one revision tagged with 'test', I think
you'd get an error asking you to disambiguate between all the revision
ids. I've a branch, nvm.levitte.select-heads-of, that adds a magic
selector H: that simply selects the headmost revision of the following
selector, so you could say 'mtn update -r H:t:test'. It *is* a hack,
though, more work is needed to make it worthy of mainline. You might
be interested in http://www.venge.net/monotone/wiki/MagicSelectors
btw.
Cheers,
Richard
-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
--
Richard Levitte address@hidden
http://richard.levitte.org/
"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
-- C.S. Lewis