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.开发者_Python百科
How can I do that?
Thanks.
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
精彩评论