Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-devel
Commits
2cf67d00
Commit
2cf67d00
authored
17 years ago
by
Patrick Mezard
Browse files
Options
Downloads
Patches
Plain Diff
test-convert-mtn: test directory move
parent
b40e9034
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/test-convert-mtn
+4
-1
4 additions, 1 deletion
tests/test-convert-mtn
tests/test-convert-mtn.out
+9
-3
9 additions, 3 deletions
tests/test-convert-mtn.out
with
13 additions
and
4 deletions
tests/test-convert-mtn
+
4
−
1
View file @
2cf67d00
...
...
@@ -55,6 +55,9 @@
mtn drop
dir
/b
mtn
mv
bin bin2
mtn ci
-m
update2
# Test directory move
mtn
mv dir
dir2
mtn ci
-m
movedir
cd
..
echo
% convert incrementally
...
...
@@ -71,5 +74,5 @@
echo
% manifest
hg manifest
echo
% contents
cat dir
/a
cat
dir
2
/a
This diff is collapsed.
Click to expand it.
tests/test-convert-mtn.out
+
9
−
3
View file @
2cf67d00
...
...
@@ -26,8 +26,11 @@
mtn: renaming bin to bin2 in workspace manifest
mtn: beginning commit on branch 'com.selenic.test'
mtn: committed revision 6c6977a6ef609ec80e40779f89dbd2772c96de62
mtn: renaming dir to dir2 in workspace manifest
mtn: beginning commit on branch 'com.selenic.test'
mtn: committed revision 5de5abe7c15eae70cf3acdda23c9c319ea50c1af
% convert incrementally
assuming destination repo.mtn-hg
scanning source...
sorting...
converting...
...
...
@@ -29,7 +32,8 @@
% convert incrementally
assuming destination repo.mtn-hg
scanning source...
sorting...
converting...
0 update2
1 update2
0 movedir
3 files updated, 0 files merged, 0 files removed, 0 files unresolved
...
...
@@ -35,5 +39,7 @@
3 files updated, 0 files merged, 0 files removed, 0 files unresolved
@ 2 "update2" files: bin bin2 dir/b e
@ 3 "movedir" files: dir/a dir2/a
|
o 2 "update2" files: bin bin2 dir/b e
|
o 1 "update1" files: a bin c dir/a dir/b
|
...
...
@@ -41,7 +47,7 @@
% manifest
bin2
dir/a
dir
2
/a
e
% contents
a
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment