Mercurial > public > mercurial-scm > hg
diff tests/test-subrepo-svn.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 | a145161debed |
children | 60ee7af2a2ba |
line wrap: on
line diff
--- a/tests/test-subrepo-svn.t Sun Jul 09 02:55:46 2017 -0400 +++ b/tests/test-subrepo-svn.t Sun Jul 09 16:13:30 2017 -0400 @@ -113,7 +113,7 @@ $ rm s/alpha $ hg commit --subrepos -m 'abort on missing file' committing subrepository s - abort: cannot commit missing svn entries (in subrepo s) + abort: cannot commit missing svn entries (in subrepository "s") [255] $ svn revert s/alpha > /dev/null @@ -170,7 +170,7 @@ $ echo zzz > s/externals/other $ hg ci --subrepos -m 'amend externals from hg' committing subrepository s - abort: cannot commit svn externals (in subrepo s) + abort: cannot commit svn externals (in subrepository "s") [255] $ hg diff --subrepos -r 1:2 | grep -v diff --- a/.hgsubstate Thu Jan 01 00:00:00 1970 +0000 @@ -192,7 +192,7 @@ property 'svn:mime-type' set on 's/externals/other' (glob) $ hg ci --subrepos -m 'amend externals from hg' committing subrepository s - abort: cannot commit svn externals (in subrepo s) + abort: cannot commit svn externals (in subrepository "s") [255] $ svn revert -q s/externals/other