I was using hg 1.9-something (what Fedora is still pointing at, it
seems) and found myself diffing file X/Y/Z/foo.c with /dev/null
because I had done
hg move W/foo.c X/Y/Z
and hg diff -r new -r old wasn't following, and the command doesn't
seem to have a follow option. Am I missing understanding how to do
the the diff, or did perhaps following get added to the more recent
releases?
/dps
-- test signature -- please apply at front gate on Tuesdays only.
_______________________________________________
Mercurial mailing list
Mercur...@selenic.com
http://selenic.com/mailman/listinfo/mercurial
> I was using hg 1.9-something (what Fedora is still pointing at, it
> seems)
Only if you are using the old Fedora 16. Fedora 17 has 2.2.3. The internal Mercurial API used by extensions and tortoisehg is not stable, and it is thus not appropriate to update Mercurial as updates in stable releases.
> and found myself diffing file X/Y/Z/foo.c with /dev/null
> because I had done
> hg move W/foo.c X/Y/Z
> and hg diff -r new -r old wasn't following, and the command doesn't
> seem to have a follow option. Am I missing understanding how to do
> the the diff, or did perhaps following get added to the more recent
> releases?
Diff will by default use the diff format and it doesn't have a way to show renames. Use --git or set [diff] git = True to use the format introduced by git that is capable of showing renames.
On Sat, Sep 8, 2012 at 4:15 PM, Mads Kiilerich <m...@kiilerich.com> wrote:
[...]
> Diff will by default use the diff format and it doesn't have a way to show
> renames. Use --git or set [diff] git = True to use the format introduced by
> git that is capable of showing renames.
-- test signature -- please apply at front gate on Tuesdays only.
_______________________________________________
Mercurial mailing list
Mercur...@selenic.com
http://selenic.com/mailman/listinfo/mercurial