[PATCH] test-mq-subrepo-svn: enable for Windows

Adrian Buehlmann adrian at cadifra.com
Fri Jun 8 05:01:28 CDT 2012


On 2012-06-08 08:24, Eduard-Cristian Stefan wrote:
> # HG changeset patch
> # User Eduard-Cristian Stefan <alexandrul.ct at gmail.com>
> # Date 1339123790 -10800
> # Node ID 81fd997694fcf5e238e65db82efa59ca18fbd42c
> # Parent  9b91d3b4fc4cdcb28467a731e1d59adf67fccb5a
> test-mq-subrepo-svn: enable for Windows
> 
> diff --git a/tests/test-mq-subrepo-svn.t b/tests/test-mq-subrepo-svn.t
> --- a/tests/test-mq-subrepo-svn.t
> +++ b/tests/test-mq-subrepo-svn.t
> @@ -24,7 +24,7 @@
>    $ svnurl="file://$curpath/svn-repo-2499/project"
>    $ mkdir -p svn-project-2499/trunk
>    $ svn import -m 'init project' svn-project-2499 "$svnurl"
> -  Adding         svn-project-2499/trunk
> +  Adding         svn-project-2499?trunk (glob)
> 
>    Committed revision 1.

Ahem. I forgot something obvious. Silly me.

If the problem is just that there is a backslash instead of slash in the
output, then you can leave the slash there in the expected output for
better readability, but just add the glob.

For example, this snippet in a testfile:

  $ echo "Adding         svn-project-2499\trunk"
  Adding         svn-project-2499/trunk (glob)

passes.

(glob)'ing will let backslashes pass. No "?" needed.

So, I propose you do the following: Please change that patch and resend
it with this improvement.



More information about the Mercurial-devel mailing list