Mercurial > hg
diff tests/test-largefiles-wireproto.t @ 29421:ecbbf4d56ee8
largefiles: check file in the repo store before checking remotely (issue5257)
Problem was files to check were gathered in the repository where
the verify was launched but verification was done on the remote
store. It was observed when user committed in cloned repository
and ran verify before pushing - committed files were marked
as non existing.
This commit fixes this by checking in the remote store only files
that are not existing in the repository store where verify was launched.
Solution is similiar to fd288d118074
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Thu, 23 Jun 2016 22:37:17 +0200 |
parents | fc777c855d66 |
children | cda10ff3175a |
line wrap: on
line diff
--- a/tests/test-largefiles-wireproto.t Mon Jun 27 10:33:33 2016 +0200 +++ b/tests/test-largefiles-wireproto.t Thu Jun 23 22:37:17 2016 +0200 @@ -149,6 +149,14 @@ $ hg commit -m "m2" Invoking status precommit hook A f2 + $ hg verify --large + checking changesets + checking manifests + crosschecking files in changesets and manifests + checking files + 2 files, 2 changesets, 2 total revisions + searching 1 changesets for largefiles + verified existence of 1 revisions of 1 largefiles $ hg serve --config extensions.largefiles=! -R ../r6 -d -p $HGPORT --pid-file ../hg.pid $ cat ../hg.pid >> $DAEMON_PIDS $ hg push http://localhost:$HGPORT