Mercurial > hg
view tests/test-diffdir.t @ 12297:a424fa60e742
merge with crew
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 15 Sep 2010 09:09:17 -0500 |
parents | 4c94b6d0fb1c |
children | 4134686b83e1 |
line wrap: on
line source
$ hg init $ touch a $ hg add a $ hg ci -m "a" $ echo 123 > b $ hg add b $ hg diff --nodates diff -r 3903775176ed b --- /dev/null +++ b/b @@ -0,0 +1,1 @@ +123 $ hg diff --nodates -r tip diff -r 3903775176ed b --- /dev/null +++ b/b @@ -0,0 +1,1 @@ +123 $ echo foo > a $ hg diff --nodates diff -r 3903775176ed a --- a/a +++ b/a @@ -0,0 +1,1 @@ +foo diff -r 3903775176ed b --- /dev/null +++ b/b @@ -0,0 +1,1 @@ +123 $ hg diff -r "" abort: 00changelog.i@: ambiguous identifier! $ hg diff -r tip -r "" abort: 00changelog.i@: ambiguous identifier! $ true