How to tell if an update is needed?
mcmillen at cs.cmu.edu
Wed Sep 27 12:21:33 CDT 2006
If you pull from another repository but don't immediately do an
update, is there any way of getting information about what would be
applied / changed once "hg update" is actually run?
I'm in a situation where I'm teaching a class and using Mercurial to
distribute source code to the students for assignments. We tell them
to do an "hg pull -u" whenever there is new code available, but it
just happened that someone left off the "-u" and therefore didn't
actually apply the latest code to their working copy. After a bit of
talking with them, we finally figured out they needed to run "hg
update", but I'm surprised that there isn't some additional flag that
can be passed to "hg status" or "hg log" that shows whether there are
any unapplied patches.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 191 bytes
Desc: Digital signature
Url : http://www.selenic.com/pipermail/mercurial/attachments/20060927/47d00c33/attachment.pgp
More information about the Mercurial