[PATCH] largefiles: fixes failure from clone test with --pull

Carter, Eli Eli.Carter at tektronix.com
Wed Oct 26 15:12:32 CDT 2011


It seems that this should instead update the output.  Afterall, we're trying to test the local clone case here.

That said, I'm not seeing this test fail here....

Eli

> -----Original Message-----
> From: mercurial-devel-bounces at selenic.com [mailto:mercurial-devel-
> bounces at selenic.com] On Behalf Of Hao Lian
> Sent: Wednesday, October 26, 2011 10:04 AM
> To: mercurial-devel at selenic.com
> Subject: [PATCH] largefiles: fixes failure from clone test with --pull
> 
> # HG changeset patch
> # User Hao Lian <hao at fogcreek.com>
> # Date 1319640983 14400
> # Branch stable
> # Node ID 23179da95bc3567e0d2e528b3b1902013d494907
> # Parent  c1930992e1112f2bc0a6a38a84d43a34de72e180
> largefiles: fixes failure from clone test with --pull
> 
> Because the clone test (the very last test as of this revision) is cloning from
> one local repository to another, it triggers the fast path (see clone in hg.py),
> which produces a terser output than expected and fails the test. Adding this
> flag fixes that problem.
> 
> diff --git a/tests/test-largefiles.t b/tests/test-largefiles.t
> --- a/tests/test-largefiles.t
> +++ b/tests/test-largefiles.t
> @@ -780,7 +780,7 @@
>    $ mkdir bob
>    $ HOME="`pwd`/bob"
>    $ cd bob
> -  $ hg clone ../alice/pubrepo pubrepo
> +  $ hg clone --pull ../alice/pubrepo pubrepo
>    requesting all changes
>    adding changesets
>    adding manifests
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel




More information about the Mercurial-devel mailing list