Show More
|
1 | NO CONTENT: file renamed from tests/darcs1.hg to tests/bundles/darcs1.hg |
|
1 | NO CONTENT: file renamed from tests/legacy-encoding.hg to tests/bundles/legacy-encoding.hg |
|
1 | NO CONTENT: file renamed from tests/tampered.hg to tests/bundles/tampered.hg |
|
1 | NO CONTENT: file renamed from tests/test-keyword.hg to tests/bundles/test-keyword.hg |
|
1 | NO CONTENT: file renamed from tests/test-manifest.hg to tests/bundles/test-manifest.hg |
|
1 | NO CONTENT: file renamed from tests/test-merge-symlinks.hg to tests/bundles/test-merge-symlinks.hg |
|
1 | NO CONTENT: file renamed from tests/test-no-symlinks.hg to tests/bundles/test-no-symlinks.hg |
@@ -33,7 +33,7 b' unbundle tampered bundle' | |||
|
33 | 33 | |
|
34 | 34 | $ hg init target |
|
35 | 35 | $ cd target |
|
36 | $ hg unbundle $TESTDIR/tampered.hg | |
|
36 | $ hg unbundle $TESTDIR/bundles/tampered.hg | |
|
37 | 37 | adding changesets |
|
38 | 38 | adding manifests |
|
39 | 39 | adding file changes |
@@ -16,7 +16,7 b" skip if we can't import elementtree" | |||
|
16 | 16 | |
|
17 | 17 | try converting darcs1 repository |
|
18 | 18 | |
|
19 | $ hg clone -q "$TESTDIR/darcs1.hg" darcs | |
|
19 | $ hg clone -q "$TESTDIR/bundles/darcs1.hg" darcs | |
|
20 | 20 | $ hg convert -s darcs darcs/darcs1 2>&1 | grep darcs-1.0 |
|
21 | 21 | darcs-1.0 repository format is unsupported, please upgrade |
|
22 | 22 |
@@ -5,7 +5,7 b' Test character encoding' | |||
|
5 | 5 | |
|
6 | 6 | we need a repo with some legacy latin-1 changesets |
|
7 | 7 | |
|
8 | $ hg unbundle $TESTDIR/legacy-encoding.hg | |
|
8 | $ hg unbundle $TESTDIR/bundles/legacy-encoding.hg | |
|
9 | 9 | adding changesets |
|
10 | 10 | adding manifests |
|
11 | 11 | adding file changes |
@@ -78,7 +78,7 b' A bundle to test this was made with:' | |||
|
78 | 78 | hg ci -m addsym -u mercurial |
|
79 | 79 | hg bundle --base null ../test-keyword.hg |
|
80 | 80 | |
|
81 | $ hg pull -u "$TESTDIR"/test-keyword.hg | |
|
81 | $ hg pull -u "$TESTDIR"/bundles/test-keyword.hg | |
|
82 | 82 | pulling from *test-keyword.hg (glob) |
|
83 | 83 | requesting all changes |
|
84 | 84 | adding changesets |
@@ -10,7 +10,7 b' Source bundle was generated with the fol' | |||
|
10 | 10 | # hg ci -Amb -d'1 0' |
|
11 | 11 | |
|
12 | 12 | $ hg init |
|
13 | $ hg -q pull "$TESTDIR/test-manifest.hg" | |
|
13 | $ hg -q pull "$TESTDIR/bundles/test-manifest.hg" | |
|
14 | 14 | |
|
15 | 15 | The next call is expected to return nothing: |
|
16 | 16 |
@@ -30,7 +30,7 b' a file, once as a link. Bundle was gener' | |||
|
30 | 30 | |
|
31 | 31 | $ hg init t |
|
32 | 32 | $ cd t |
|
33 | $ hg -q pull "$TESTDIR/test-merge-symlinks.hg" | |
|
33 | $ hg -q pull "$TESTDIR/bundles/test-merge-symlinks.hg" | |
|
34 | 34 | $ hg up -C 3 |
|
35 | 35 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
36 | 36 |
@@ -16,7 +16,7 b' Extract a symlink on a platform not supp' | |||
|
16 | 16 | |
|
17 | 17 | $ hg init t |
|
18 | 18 | $ cd t |
|
19 | $ hg pull -q "$TESTDIR/test-no-symlinks.hg" | |
|
19 | $ hg pull -q "$TESTDIR/bundles/test-no-symlinks.hg" | |
|
20 | 20 | $ hg update |
|
21 | 21 | 4 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
22 | 22 | $ cat a.lnk && echo |
@@ -2,6 +2,7 b' import os, sys, time' | |||
|
2 | 2 | from mercurial import hg, ui, commands |
|
3 | 3 | |
|
4 | 4 | TESTDIR = os.environ["TESTDIR"] |
|
5 | BUNDLEPATH = os.path.join(TESTDIR, 'bundles', 'test-no-symlinks.hg') | |
|
5 | 6 | |
|
6 | 7 | # only makes sense to test on os which supports symlinks |
|
7 | 8 | if not hasattr(os, "symlink"): |
@@ -9,7 +10,7 b' if not hasattr(os, "symlink"):' | |||
|
9 | 10 | |
|
10 | 11 | # clone with symlink support |
|
11 | 12 | u = ui.ui() |
|
12 | hg.clone(u, os.path.join(TESTDIR, 'test-no-symlinks.hg'), 'test0') | |
|
13 | hg.clone(u, BUNDLEPATH, 'test0') | |
|
13 | 14 | |
|
14 | 15 | repo = hg.repository(u, 'test0') |
|
15 | 16 | |
@@ -38,4 +39,4 b' commands.status(u, repo)' | |||
|
38 | 39 | |
|
39 | 40 | # try cloning a repo which contains symlinks |
|
40 | 41 | u = ui.ui() |
|
41 | hg.clone(u, os.path.join(TESTDIR, 'test-no-symlinks.hg'), 'test1') | |
|
42 | hg.clone(u, BUNDLEPATH, 'test1') |
General Comments 0
You need to be logged in to leave comments.
Login now