Show incoming changes for specific file/dir

Matt Mackall mpm at selenic.com
Sun May 1 10:31:39 UTC 2011


On Sun, 2011-05-01 at 12:25 +0200, Tony Mechelynck wrote:
> 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.

Another alternative is to use a bundle:

hg in -q -b in.hg
hg -R in.hg log somedirectory/

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list