comparison tests/test-static-http.t @ 12847:b00eda50ad2b stable

pull: silence spurious 'requesting all changes' message When issuing `hg pull -r REV` in a repo with no common ancestor with the remote repo, the message 'requesting all changes' is printed, even though only the changese that are ancestors of REV are actually requested. This can be confusing for users (see http://www.selenic.com/pipermail/mercurial/2010-October/035508.html). This silences the message if (and only if) the '-r' option was passed.
author Kevin Bullock <kbullock@ringworld.org>
date Wed, 20 Oct 2010 17:38:21 -0500
parents d08bb64888bc
children b6693876c250
comparison
equal deleted inserted replaced
12846:4b334f8c941b 12847:b00eda50ad2b
91 $ cd .. 91 $ cd ..
92 $ hg clone -r donotexist static-http://localhost:$HGPORT/remote local0 92 $ hg clone -r donotexist static-http://localhost:$HGPORT/remote local0
93 abort: unknown revision 'donotexist'! 93 abort: unknown revision 'donotexist'!
94 [255] 94 [255]
95 $ hg clone -r 0 static-http://localhost:$HGPORT/remote local0 95 $ hg clone -r 0 static-http://localhost:$HGPORT/remote local0
96 requesting all changes
97 adding changesets 96 adding changesets
98 adding manifests 97 adding manifests
99 adding file changes 98 adding file changes
100 added 1 changesets with 1 changes to 1 files 99 added 1 changesets with 1 changes to 1 files
101 updating to branch default 100 updating to branch default