[PATCH] test-subrepo-svn.t: adapt for Windows

Mads Kiilerich mads at kiilerich.com
Sun Jun 24 19:45:17 CDT 2012


alexandrul.ct at gmail.com wrote, On 06/23/2012 06:54 PM:
> # HG changeset patch
> # User Eduard-Cristian Stefan <alexandrul.ct at gmail.com>
> # Date 1340470448 -10800
> # Node ID 6a81e54bb3e61d5a539312f8dd96d430fdabb0a1
> # Parent  efd2e14f72353626355dc82465bdf23bf6416aa2
> test-subrepo-svn.t: adapt for Windows

Thanks, the obviously good parts of this part has been pushed to crew.

> diff --git a/tests/test-subrepo-svn.t b/tests/test-subrepo-svn.t
> --- a/tests/test-subrepo-svn.t
> +++ b/tests/test-subrepo-svn.t
> @@ -14,7 +14,11 @@
>   
>   create subversion repo
>   
> +#if no-windows
>     $ SVNREPO="file://$escapedwd/svn-repo"
> +#else
> +  $ SVNREPO="file:///$escapedwd/svn-repo"
> +#endif

Not this chunk - please consider Patricks comment.

> @@ -491,7 +495,7 @@
>   
>     $ hg ci --subrepos -m cleanup | grep -v Updating
>     committing subrepository obstruct
> -  Sending        obstruct/other
> +  Sending        *obstruct/other (glob)

And not this chunk - that * needs an explanation.

Please follow up with patch(es) for the remaining issues.

/Mads


More information about the Mercurial-devel mailing list