test-clone.out
313 lines
| 7.4 KiB
| text/plain
|
TextLexer
/ tests / test-clone.out
Adrian Buehlmann
|
r6947 | |||
% prepare repo a | ||||
% list files in store/data (should show a 'b.d') | ||||
.hg/store/data/a.i | ||||
.hg/store/data/b.d | ||||
.hg/store/data/b.i | ||||
% default operation | ||||
Adrian Buehlmann
|
r9611 | updating to branch default | ||
Adrian Buehlmann
|
r6947 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||
mpm@selenic.com
|
r550 | a | ||
checking changesets | ||||
checking manifests | ||||
crosschecking files in changesets and manifests | ||||
checking files | ||||
Adrian Buehlmann
|
r6947 | 2 files, 11 changesets, 11 total revisions | ||
% no update | ||||
Peter van Dijk
|
r1926 | a not present | ||
mpm@selenic.com
|
r550 | checking changesets | ||
checking manifests | ||||
crosschecking files in changesets and manifests | ||||
checking files | ||||
Adrian Buehlmann
|
r6947 | 2 files, 11 changesets, 11 total revisions | ||
% default destination | ||||
Thomas Arendsen Hein
|
r3841 | destination directory: a | ||
Adrian Buehlmann
|
r9611 | updating to branch default | ||
Adrian Buehlmann
|
r6947 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||
mpm@selenic.com
|
r550 | a | ||
Adrian Buehlmann
|
r6947 | |||
Sune Foldager
|
r9996 | % check that we drop the file: from the path before | ||
Adrian Buehlmann
|
r6947 | % writing the .hgrc | ||
Adrian Buehlmann
|
r9611 | updating to branch default | ||
Adrian Buehlmann
|
r6947 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||
% check that path aliases are expanded | ||||
Alexis S. L. Carvalho
|
r6088 | a#0 | ||
Adrian Buehlmann
|
r6947 | |||
% use --pull | ||||
requesting all changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 11 changesets with 11 changes to 2 files | ||||
Adrian Buehlmann
|
r9611 | updating to branch default | ||
Adrian Buehlmann
|
r6947 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||
checking changesets | ||||
checking manifests | ||||
crosschecking files in changesets and manifests | ||||
checking files | ||||
2 files, 11 changesets, 11 total revisions | ||||
Steve Borho
|
r7927 | |||
% clone to . | ||||
Adrian Buehlmann
|
r9611 | updating to branch default | ||
Steve Borho
|
r7927 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||
Adrian Buehlmann
|
r9714 | |||
% *** tests for option -u *** | ||||
% adding some more history to repo a | ||||
% tag ref1 | ||||
% updating back to ref1 | ||||
1 files updated, 0 files merged, 1 files removed, 0 files unresolved | ||||
% add branch 'stable' to repo a for later tests | ||||
marked working directory as branch stable | ||||
% tag ref2 | ||||
% updating back to ref2 | ||||
1 files updated, 0 files merged, 1 files removed, 0 files unresolved | ||||
% parents of repo a | ||||
changeset: 13:e8ece76546a6 | ||||
branch: stable | ||||
tag: ref2 | ||||
parent: 10:a7949464abda | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: starting branch stable | ||||
% repo a has two heads | ||||
changeset: 15:0aae7cf88f0d | ||||
branch: stable | ||||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: another change for branch stable | ||||
changeset: 12:f21241060d6a | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: hacked default | ||||
% testing clone -U -u 1 a ua (must abort) | ||||
abort: cannot specify both --noupdate and --updaterev | ||||
% testing clone -u . a ua | ||||
updating to branch stable | ||||
2 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
% repo ua has both heads | ||||
changeset: 15:0aae7cf88f0d | ||||
branch: stable | ||||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: another change for branch stable | ||||
changeset: 12:f21241060d6a | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: hacked default | ||||
% same revision checked out in repo a and ua | ||||
e8ece76546a6 | ||||
e8ece76546a6 | ||||
% testing clone --pull -u . a ua | ||||
requesting all changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 16 changesets with 16 changes to 3 files (+1 heads) | ||||
updating to branch stable | ||||
2 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
% repo ua has both heads | ||||
changeset: 15:0aae7cf88f0d | ||||
branch: stable | ||||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: another change for branch stable | ||||
changeset: 12:f21241060d6a | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: hacked default | ||||
% same revision checked out in repo a and ua | ||||
e8ece76546a6 | ||||
e8ece76546a6 | ||||
% testing clone -u stable a ua | ||||
updating to branch stable | ||||
3 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
% repo ua has both heads | ||||
changeset: 15:0aae7cf88f0d | ||||
branch: stable | ||||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: another change for branch stable | ||||
changeset: 12:f21241060d6a | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: hacked default | ||||
% branch stable is checked out | ||||
changeset: 15:0aae7cf88f0d | ||||
branch: stable | ||||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: another change for branch stable | ||||
% testing clone a ua | ||||
updating to branch default | ||||
3 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
% repo ua has both heads | ||||
changeset: 15:0aae7cf88f0d | ||||
branch: stable | ||||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: another change for branch stable | ||||
changeset: 12:f21241060d6a | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: hacked default | ||||
% branch default is checked out | ||||
changeset: 12:f21241060d6a | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: hacked default | ||||
% testing clone -u . a#stable ua | ||||
requesting all changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 14 changesets with 14 changes to 3 files | ||||
updating to branch stable | ||||
2 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
% repo ua has only branch stable | ||||
changeset: 13:0aae7cf88f0d | ||||
branch: stable | ||||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: another change for branch stable | ||||
Dirkjan Ochtman
|
r10350 | changeset: 10:a7949464abda | ||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: test | ||||
Adrian Buehlmann
|
r9714 | |||
% same revision checked out in repo a and ua | ||||
e8ece76546a6 | ||||
e8ece76546a6 | ||||
% testing clone -u . -r stable a ua | ||||
requesting all changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 14 changesets with 14 changes to 3 files | ||||
updating to branch stable | ||||
2 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
% repo ua has only branch stable | ||||
changeset: 13:0aae7cf88f0d | ||||
branch: stable | ||||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: another change for branch stable | ||||
Dirkjan Ochtman
|
r10350 | changeset: 10:a7949464abda | ||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: test | ||||
Adrian Buehlmann
|
r9714 | |||
% same revision checked out in repo a and ua | ||||
e8ece76546a6 | ||||
e8ece76546a6 | ||||
% testing clone -r stable a ua | ||||
requesting all changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 14 changesets with 14 changes to 3 files | ||||
updating to branch stable | ||||
3 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
% repo ua has only branch stable | ||||
changeset: 13:0aae7cf88f0d | ||||
branch: stable | ||||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: another change for branch stable | ||||
Dirkjan Ochtman
|
r10350 | changeset: 10:a7949464abda | ||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: test | ||||
Adrian Buehlmann
|
r9714 | |||
% branch stable is checked out | ||||
changeset: 13:0aae7cf88f0d | ||||
branch: stable | ||||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: another change for branch stable | ||||
% testing clone -u . -r stable -r default a ua | ||||
requesting all changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 16 changesets with 16 changes to 3 files (+1 heads) | ||||
updating to branch stable | ||||
2 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
% repo ua has two heads | ||||
changeset: 15:0aae7cf88f0d | ||||
branch: stable | ||||
tag: tip | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: another change for branch stable | ||||
changeset: 12:f21241060d6a | ||||
user: test | ||||
date: Thu Jan 01 00:00:00 1970 +0000 | ||||
summary: hacked default | ||||
% same revision checked out in repo a and ua | ||||
e8ece76546a6 | ||||
e8ece76546a6 | ||||