File Status after pull

mail at fabiantriefenbach.de mail at fabiantriefenbach.de
Mon Jul 13 05:59:09 CDT 2009


Is it possible to check if a special file (or folder) gets updated with
a pull and do special operations if so?

I tried to use hg incoming with a file or folder which does not work.
Only thing i can do is pull and later check with hg log if the pulled
revisions affect the file.

"hg log FILE -r x:tip" but I have to know which rev was the tip before.
my script could than test if hg log gives any changesets as return...
This works but it is a kind of workaround.

Is there an easier way to simple chek if a file is changed with a remote
pull?


thx



More information about the Mercurial mailing list