emurad
emurad

Reputation: 3578

How to get a list of changed files before pulling from the main repository?

I need to get a list of changed files from before actually pulling the new/modified files from the main repository.

How can I do that?

Thanks.

Upvotes: 1

Views: 75

Answers (1)

pyfunc
pyfunc

Reputation: 66729

Use incoming command:

To tell us what changes the hg pull command would pull into the repository, without actually pulling the changes in

hg incoming 

Also, for remote repository, using --bundle avoids downloading the changesets twice if the incoming is followed by a pull.

See: http://www.selenic.com/mercurial/hg.1.html

Upvotes: 2

Related Questions