comparison tests/test-mq-safety.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 6cc4b14fb76b
children 9910f60a37ee 41885892796e
comparison
equal deleted inserted replaced
12846:4b334f8c941b 12847:b00eda50ad2b
129 $ hg ci -Am addb 129 $ hg ci -Am addb
130 adding b 130 adding b
131 $ hg up 0 131 $ hg up 0
132 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 132 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
133 $ hg --cwd .. clone -r 0 forcepush forcepush2 133 $ hg --cwd .. clone -r 0 forcepush forcepush2
134 requesting all changes
135 adding changesets 134 adding changesets
136 adding manifests 135 adding manifests
137 adding file changes 136 adding file changes
138 added 1 changesets with 1 changes to 1 files 137 added 1 changesets with 1 changes to 1 files
139 updating to branch default 138 updating to branch default