diff missing some files

Alexis S. L. Carvalho alexis at cecm.usp.br
Thu Dec 7 11:53:01 CST 2006


Thus spake Darrell Gallion:
> This was tricky to reproduce.
> Create a repo with two directories, with one file each. Then I started
> changing them, followed by adding a new file to one directory.
> 
> Then I get a diff like this, which when viewed with extdiff tool, indicates
> the d1 directory was deleted in version 3
> It wasn't.
> 
> C:\work\ttt\test>hg.py diff -r4:3
> diff -r b517c8ac23b7 -r bdd63ddd74d1 d1/f3
> --- a/d1/f3     Thu Dec 07 11:47:18 2006 -0500
> +++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
> @@ -1,1 +0,0 @@

diff -r 4:3 => relative to rev 4, what was changed in rev 3?

diff -r 3:4 => relative to rev 3, what was changed in rev 4?

diff -r 2:3 => relative to rev 2, what was changed in rev 3?

You probably want either the second or the third one.

Alexis


More information about the Mercurial mailing list