Show incoming changes for specific file/dir

Tony Mechelynck antoine.mechelynck at gmail.com
Sun May 1 10:25:20 UTC 2011


On 01/05/11 11:26, anatoly techtonik wrote:
> Hi,
>
> How can I see incoming changes for specific file/dir from remote repository?
> In svn I do:
>    svn log log -r HEAD:BASE -v
>
> Please CC.
> --
> anatoly t.
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>

AFAICT, you cannot limit the output of "hg incoming" to only one file; 
but after doing
	hg --verbose incoming > incoming.log
which can be abbreviated to
	hg -v in > incoming.log

you can examine the result (using the search function in any good text 
editor) to find any incoming changesets for the file or directory in 
question.

Or instead of logging, on Unix-like systems you could pipe the output to 
the "less" pager and search using its / and n commands.


Best regards,
Tony.
-- 
"If value corrupts then absolute value corrupts absolutely"



More information about the Mercurial mailing list