Mercurial > public > mercurial-scm > hg-stable
diff tests/test-mq-subrepo.t @ 33365:6d88468d435b
subrepo: make the output references to subrepositories consistent
Well, mostly. The annotation on subrepo functions tacks on a parenthetical to
the abort message, which seems reasonable for a generic mechanism. But now all
messages consistently spell out 'subrepository', and double quote the name of
the repo. I noticed the inconsistency in the change for the last commit.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 09 Jul 2017 16:13:30 -0400 |
parents | a2804ddcf9ae |
children | 4441705b7111 |
line wrap: on
line diff
--- a/tests/test-mq-subrepo.t Sun Jul 09 02:55:46 2017 -0400 +++ b/tests/test-mq-subrepo.t Sun Jul 09 16:13:30 2017 -0400 @@ -102,7 +102,7 @@ A .hgsub A sub/a % qnew -X path:no-effect -m0 0.diff - abort: uncommitted changes in subrepository 'sub' + abort: uncommitted changes in subrepository "sub" [255] % update substate when adding .hgsub w/clean updated subrepo A .hgsub @@ -118,7 +118,7 @@ M .hgsub A sub2/a % qnew --cwd .. -R repo-2499-qnew -X path:no-effect -m1 1.diff - abort: uncommitted changes in subrepository 'sub2' + abort: uncommitted changes in subrepository "sub2" [255] % update substate when modifying .hgsub w/clean updated subrepo M .hgsub @@ -163,7 +163,7 @@ A .hgsub A sub/a % qrefresh - abort: uncommitted changes in subrepository 'sub' + abort: uncommitted changes in subrepository "sub" [255] % update substate when adding .hgsub w/clean updated subrepo A .hgsub @@ -180,7 +180,7 @@ M .hgsub A sub2/a % qrefresh - abort: uncommitted changes in subrepository 'sub2' + abort: uncommitted changes in subrepository "sub2" [255] % update substate when modifying .hgsub w/clean updated subrepo M .hgsub @@ -305,7 +305,7 @@ warning: subrepo spec file '.hgsub' not found warning: subrepo spec file '.hgsub' not found - abort: uncommitted changes in subrepository 'sub' + abort: uncommitted changes in subrepository "sub" [255] % update substate when adding .hgsub w/clean updated subrepo A .hgsub @@ -342,7 +342,7 @@ +sub2 = sub2 record this change to '.hgsub'? [Ynesfdaq?] y - abort: uncommitted changes in subrepository 'sub2' + abort: uncommitted changes in subrepository "sub2" [255] % update substate when modifying .hgsub w/clean updated subrepo M .hgsub