newbie: hg diff -r#1 -r#2 path:somename.diff ( no cigar )

Bill Freeman bfreeman at appropriatesolutions.com
Mon May 2 21:21:36 UTC 2011


Try:

   hg diff -r#1 -r#2 > path:somename.diff

Most commands from a unix world default to simply printing the result.
the ">" is interpreted by the shell (in this case cmd.exe) as meaning
that the terminal on which the command can "print" is adjusted to
really be the following file.

Bill
----- Original Message -----
From: "Steffen Dyhr-Nielsen" <steffen at dyhr-nielsen.dk>
To: mercurial at selenic.com
Sent: Monday, May 2, 2011 8:50:10 AM GMT -05:00 US/Canada Eastern
Subject: Re: newbie: hg diff -r#1 -r#2 path:somename.diff ( no cigar )

I´m running hg in W7 from the commandprompt. The only examples I´ve been able
to find are like : hg diff -r rev1 -r ref2 filename.. I get the diff info in
the console allright, & I don´t get any error message, but no file is
generated?? What´s missing.. Help would really be appreciated. THx

--
View this message in context: http://mercurial.808500.n3.nabble.com/newbie-hg-diff-r-1-r-2-path-somename-diff-no-cigar-tp2889328p2889715.html
Sent from the General mailing list archive at Nabble.com.
_______________________________________________
Mercurial mailing list
Mercurial at selenic.com
http://selenic.com/mailman/listinfo/mercurial



More information about the Mercurial mailing list