[PATCH] largefiles: fix test and check code
Augie Fackler
raf at durin42.com
Sat Feb 9 10:06:46 CST 2013
queued, thanks
On Feb 9, 2013, at 4:06 PM, natosha at unity3d.com wrote:
> # HG changeset patch
> # User Na'Tosha Bard <natosha at unity3d.com>
> # Date 1360425721 0
> # Node ID ccdd9920f705df682210edc2b222e3fba236e539
> # Parent 42691426804311ace53611264cb3ed5f7da176d3
> largefiles: fix test and check code
>
> diff -r 426914268043 -r ccdd9920f705 hgext/largefiles/overrides.py
> --- a/hgext/largefiles/overrides.py Sat Feb 09 15:08:21 2013 +0000
> +++ b/hgext/largefiles/overrides.py Sat Feb 09 16:02:01 2013 +0000
> @@ -739,7 +739,7 @@
> heads = lfutil.getcurrentheads(repo)
> newheads = set(heads).difference(set(oldheads))
> if len(newheads) > 0:
> - ui.status(_("caching largefiles for %s heads\n" % len(newheads)))
> + ui.status(_("caching largefiles for %s heads\n") % len(newheads))
> for head in newheads:
> (cached, missing) = lfcommands.cachelfiles(ui, repo, head)
> numcached += len(cached)
> diff -r 426914268043 -r ccdd9920f705 tests/test-largefiles-cache.t
> --- a/tests/test-largefiles-cache.t Sat Feb 09 15:08:21 2013 +0000
> +++ b/tests/test-largefiles-cache.t Sat Feb 09 16:02:01 2013 +0000
> @@ -37,7 +37,7 @@
> adding file changes
> added 1 changesets with 1 changes to 1 files
> (run 'hg update' to get a working copy)
> - caching new largefiles
> + caching largefiles for 1 heads
> 0 largefiles cached
>
> Update working directory to "tip", which requires largefile("large"),
More information about the Mercurial-devel
mailing list