pdiff not very smart

Antoine Pitrou solipsis at pitrou.net
Wed Dec 17 21:31:55 UTC 2008


I've now started playing with pbranch and have bumped into the following problem:

$ hg id
db35f879d3b8+ (dictopts) tip
$ hg pgraph
o  dictopts
|
o  gctrigger
|
o  trunk

$ hg pdiff -r trunk
abort: branch dictopts is not in the patch graph (maybe update to it, or use
--tips?)


Also, "hg pdiff -r trunk -p dictopts" doesn't work as expected. I would have
thought it would have given me the patch of dictops against trunk (that's what
"hg diff -r trunk" does, but unfortunately it adds .hgpatchinfo stuff in the
diff as well).





More information about the Mercurial mailing list