somebody pushed changes in my repo,
and now I would like to see what will happen
if I run:
bash> hg up
As I can see there is no --dry or -n option.
Is there any way to see what files will be updated if I run the command??
Anton
_______________________________________________
Mercurial mailing list
Merc...@selenic.com
http://selenic.com/mailman/listinfo/mercurial
> Hi,
>
> somebody pushed changes in my repo, and now I would like to see what
> will happen if I run:
>
> bash> hg up
>
> As I can see there is no --dry or -n option.
>
> Is there any way to see what files will be updated if I run the
> command??
If you want to get information about which files has changed, then you
should use 'hg status' -- you already use this many times a day to see
which files have changed since the working copy parent revision.
Use
hg status --rev .:tip
to see which files have changed between the working copy parent revision
(that is '.', the last revision you made a 'hg update' to) and the
newest changeset (the 'tip' changeset).
--
Martin Geisler
aragost Trifork
Professional Mercurial support
http://aragost.com/mercurial/
On 2010-10-01, at 04:39, anton wrote:
> Hi,
>
> somebody pushed changes in my repo,
> and now I would like to see what will happen
> if I run:
>
> bash> hg up
>
> As I can see there is no --dry or -n option.
>
> Is there any way to see what files will be updated if I run the command??
Try cloning the repo locally and then updating the clone. You can easily throw away the clone if you don’t like it, and your original is unaffected.
HTH,
Yawar