Mercurial > public > mercurial-scm > hg-stable
diff tests/test-http.t @ 17260:e432fb4b4221 stable
tag: don't allow tagging the null revision (issue1915)
Also fixed the tests that were doing this and expected it to work
author | Brad Hall <bhall@fb.com> |
---|---|
date | Tue, 05 Jun 2012 17:00:13 -0700 |
parents | 3e2d8120528b |
children | 471f30d360ea |
line wrap: on
line diff
--- a/tests/test-http.t Thu Jul 26 13:58:43 2012 +0900 +++ b/tests/test-http.t Tue Jun 05 17:00:13 2012 -0700 @@ -176,7 +176,10 @@ clone of serve with repo in root and unserved subrepo (issue2970) $ hg --cwd test init sub - $ hg --cwd test/sub tag something + $ echo empty > test/sub/empty + $ hg --cwd test/sub add empty + $ hg --cwd test/sub commit -qm 'add empty' + $ hg --cwd test/sub tag -r 0 something $ echo sub = sub > test/.hgsub $ hg --cwd test add .hgsub $ hg --cwd test commit -qm 'add subrepo'