##// END OF EJS Templates
pull: with -u and -r, update to the first revision given...
pull: with -u and -r, update to the first revision given This makes pull consistent with clone. The actual change is in mercurial.hg.parseurl, changing its checkout result, which is only used for pull.

File last commit:

r10358:d42821cd default
r10358:d42821cd default
Show More
test-pull-r.out
42 lines | 943 B | text/plain | TextLexer
Alexis S. L. Carvalho
pull -r: pass the revisions as the heads argument of findincoming...
r5221 changeset: 2:effea6de0384
tag: tip
parent: 0:bbd179dfa0a7
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: add bar
changeset: 1:ed1b79f46b9a
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: change foo
changeset: 0:bbd179dfa0a7
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: add foo
Patrick Mezard
commands: fix shadowed repo module
r6405 % pull a missing revision
abort: unknown revision 'missing'!
Sune Foldager
pull: with -u and -r, update to the first revision given...
r10358 % pull multiple revisions with update
0:bbd179dfa0a7
rolling back last transaction
Alexis S. L. Carvalho
pull -r: pass the revisions as the heads argument of findincoming...
r5221 % pull -r 0
changeset: 0:bbd179dfa0a7
tag: tip
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: add foo
% pull -r 1
changeset: 1:ed1b79f46b9a
tag: tip
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: change foo
changeset: 0:bbd179dfa0a7
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: add foo
% pull -r 1 again