Mercurial > hg
annotate tests/test-convert-svn-encoding.t @ 29375:fcaf20175b1b
demandimport: delay loading for "from a import b" with absolute_import
Before this patch, "from a import b" doesn't delay loading module "b",
if absolute_import is enabled, even though "from . import b" does.
For example:
- it is assumed that extension X has "from P import M" for module M
under package P with absolute_import feature
- if importing module M is already delayed before loading extension
X, loading module M in extension X is delayed until actually
referring
util, cmdutil, scmutil or so of Mercurial itself should be
imported by "from . import M" style before loading extension X
- otherwise, module M is loaded immediately at loading extension X,
even if extension X itself isn't used at that "hg" command invocation
Some minor modules (e.g. filemerge or so) of Mercurial itself
aren't imported by "from . import M" style before loading
extension X. And of course, external libraries aren't, too.
This might cause startup performance problem of hg command, because
many bundled extensions already enable absolute_import feature.
To delay loading module for "from a import b" with absolute_import
feature, this patch does below in "from a (or .a) import b" with
absolute_import case:
1. import root module of "name" by system built-in __import__
(referred as _origimport)
2. recurse down the module chain for hierarchical "name"
This logic can be shared with non absolute_import
case. Therefore, this patch also centralizes it into chainmodules().
3. and fall through to process elements in "fromlist" for the leaf
module of "name"
Processing elements in "fromlist" is executed in the code path
after "if _pypy: .... else: ..." clause. Therefore, this patch
replaces "if _pypy:" with "elif _pypy:" to share it.
At 4f1144c3c72b introducing original "work around" for "from a import
b" case, elements in "fromlist" were imported with "level=level". But
"level" might be grater than 1 (e.g. level=2 in "from .. import b"
case) at demandimport() invocation, and importing direct sub-module in
"fromlist" with level grater than 1 causes unexpected result.
IMHO, this seems main reason of "errors for unknown reason" described
in 4f1144c3c72b, and we don't have to worry about it, because this
issue was already fixed by 78d05778907b.
This is reason why this patch removes "errors for unknown reasons"
comment.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Sun, 19 Jun 2016 02:17:33 +0900 |
parents | f106913c6a4e |
children | c2380b448265 |
rev | line source |
---|---|
22046
7a9cbb315d84
tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents:
20117
diff
changeset
|
1 #require svn svn-bindings |
8882
48a04961b0dd
convert/svn: remove useless encoding/decoding calls (issue1676)
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
2 |
13519
43b3b761d9d1
tests: don't overwrite HGRCPATH
Martin Geisler <mg@aragost.com>
parents:
12943
diff
changeset
|
3 $ cat >> $HGRCPATH <<EOF |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
4 > [extensions] |
17347
2da47de36b6f
check-code: fix check for trailing whitespace on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents:
14162
diff
changeset
|
5 > convert = |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
6 > EOF |
8882
48a04961b0dd
convert/svn: remove useless encoding/decoding calls (issue1676)
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
7 |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
8 $ svnadmin create svn-repo |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
9 $ svnadmin load -q svn-repo < "$TESTDIR/svn/encoding.svndump" |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
10 |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
11 Convert while testing all possible outputs |
8882
48a04961b0dd
convert/svn: remove useless encoding/decoding calls (issue1676)
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
12 |
25125
bd625cd4e5e7
progress: get the extremely verbose output out of default debug
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
24728
diff
changeset
|
13 $ hg --debug convert svn-repo A-hg --config progress.debug=1 |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
14 initializing destination A-hg repository |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
15 reparent to file://*/svn-repo (glob) |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
16 run hg sink pre-conversion action |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
17 scanning source... |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
18 found trunk at 'trunk' |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
19 found tags at 'tags' |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
20 found branches at 'branches' |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
21 found branch branch\xc3\xa9 at 5 (esc) |
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
22 found branch branch\xc3\xa9e at 6 (esc) |
22414
299eaa09b41b
convert: enable deterministic conversion progress bar for svn
Augie Fackler <raf@durin42.com>
parents:
22046
diff
changeset
|
23 scanning: 1/4 revisions (25.00%) |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
24 reparent to file://*/svn-repo/trunk (glob) |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
25 fetching revision log for "/trunk" from 4 to 0 |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
26 parsing revision 4 (2 changes) |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
27 parsing revision 3 (4 changes) |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
28 parsing revision 2 (3 changes) |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
29 parsing revision 1 (3 changes) |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
30 no copyfrom path, don't know what to do. |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
31 '/branches' is not under '/trunk', ignoring |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
32 '/tags' is not under '/trunk', ignoring |
22414
299eaa09b41b
convert: enable deterministic conversion progress bar for svn
Augie Fackler <raf@durin42.com>
parents:
22046
diff
changeset
|
33 scanning: 2/4 revisions (50.00%) |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
34 reparent to file://*/svn-repo/branches/branch%C3%A9 (glob) |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
35 fetching revision log for "/branches/branch\xc3\xa9" from 5 to 0 (esc) |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
36 parsing revision 5 (1 changes) |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
37 reparent to file://*/svn-repo (glob) |
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
38 reparent to file://*/svn-repo/branches/branch%C3%A9 (glob) |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
39 found parent of branch /branches/branch\xc3\xa9 at 4: /trunk (esc) |
22414
299eaa09b41b
convert: enable deterministic conversion progress bar for svn
Augie Fackler <raf@durin42.com>
parents:
22046
diff
changeset
|
40 scanning: 3/4 revisions (75.00%) |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
41 reparent to file://*/svn-repo/branches/branch%C3%A9e (glob) |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
42 fetching revision log for "/branches/branch\xc3\xa9e" from 6 to 0 (esc) |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
43 parsing revision 6 (1 changes) |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
44 reparent to file://*/svn-repo (glob) |
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
45 reparent to file://*/svn-repo/branches/branch%C3%A9e (glob) |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
46 found parent of branch /branches/branch\xc3\xa9e at 5: /branches/branch\xc3\xa9 (esc) |
22414
299eaa09b41b
convert: enable deterministic conversion progress bar for svn
Augie Fackler <raf@durin42.com>
parents:
22046
diff
changeset
|
47 scanning: 4/4 revisions (100.00%) |
299eaa09b41b
convert: enable deterministic conversion progress bar for svn
Augie Fackler <raf@durin42.com>
parents:
22046
diff
changeset
|
48 scanning: 5/4 revisions (125.00%) |
299eaa09b41b
convert: enable deterministic conversion progress bar for svn
Augie Fackler <raf@durin42.com>
parents:
22046
diff
changeset
|
49 scanning: 6/4 revisions (150.00%) |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
50 sorting... |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
51 converting... |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
52 5 init projA |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
53 source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/trunk@1 |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
54 converting: 0/6 revisions (0.00%) |
23749
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
55 committing changelog |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
56 4 hello |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
57 source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/trunk@2 |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
58 converting: 1/6 revisions (16.67%) |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
59 reparent to file://*/svn-repo/trunk (glob) |
28471
f106913c6a4e
convert: specify unit for ui.progress when scanning paths
Anton Shestakov <av6@dwimlabs.net>
parents:
28470
diff
changeset
|
60 scanning paths: /trunk/\xc3\xa0 0/3 paths (0.00%) (esc) |
f106913c6a4e
convert: specify unit for ui.progress when scanning paths
Anton Shestakov <av6@dwimlabs.net>
parents:
28470
diff
changeset
|
61 scanning paths: /trunk/\xc3\xa0/e\xcc\x81 1/3 paths (33.33%) (esc) |
f106913c6a4e
convert: specify unit for ui.progress when scanning paths
Anton Shestakov <av6@dwimlabs.net>
parents:
28470
diff
changeset
|
62 scanning paths: /trunk/\xc3\xa9 2/3 paths (66.67%) (esc) |
23749
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
63 committing files: |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
64 \xc3\xa0/e\xcc\x81 (esc) |
28470
80bd110dbf5e
convert: specify unit for ui.progress when operating on files
Anton Shestakov <av6@dwimlabs.net>
parents:
25125
diff
changeset
|
65 getting files: \xc3\xa0/e\xcc\x81 1/2 files (50.00%) (esc) |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
66 \xc3\xa9 (esc) |
28470
80bd110dbf5e
convert: specify unit for ui.progress when operating on files
Anton Shestakov <av6@dwimlabs.net>
parents:
25125
diff
changeset
|
67 getting files: \xc3\xa9 2/2 files (100.00%) (esc) |
23749
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
68 committing manifest |
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
69 committing changelog |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
70 3 copy files |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
71 source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/trunk@3 |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
72 converting: 2/6 revisions (33.33%) |
28471
f106913c6a4e
convert: specify unit for ui.progress when scanning paths
Anton Shestakov <av6@dwimlabs.net>
parents:
28470
diff
changeset
|
73 scanning paths: /trunk/\xc3\xa0 0/4 paths (0.00%) (esc) |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
74 gone from -1 |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
75 reparent to file://*/svn-repo (glob) |
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
76 reparent to file://*/svn-repo/trunk (glob) |
28471
f106913c6a4e
convert: specify unit for ui.progress when scanning paths
Anton Shestakov <av6@dwimlabs.net>
parents:
28470
diff
changeset
|
77 scanning paths: /trunk/\xc3\xa8 1/4 paths (25.00%) (esc) |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
78 copied to \xc3\xa8 from \xc3\xa9@2 (esc) |
28471
f106913c6a4e
convert: specify unit for ui.progress when scanning paths
Anton Shestakov <av6@dwimlabs.net>
parents:
28470
diff
changeset
|
79 scanning paths: /trunk/\xc3\xa9 2/4 paths (50.00%) (esc) |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
80 gone from -1 |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
81 reparent to file://*/svn-repo (glob) |
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
82 reparent to file://*/svn-repo/trunk (glob) |
28471
f106913c6a4e
convert: specify unit for ui.progress when scanning paths
Anton Shestakov <av6@dwimlabs.net>
parents:
28470
diff
changeset
|
83 scanning paths: /trunk/\xc3\xb9 3/4 paths (75.00%) (esc) |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
84 mark /trunk/\xc3\xb9 came from \xc3\xa0:2 (esc) |
28470
80bd110dbf5e
convert: specify unit for ui.progress when operating on files
Anton Shestakov <av6@dwimlabs.net>
parents:
25125
diff
changeset
|
85 getting files: \xc3\xa0/e\xcc\x81 1/4 files (25.00%) (esc) |
80bd110dbf5e
convert: specify unit for ui.progress when operating on files
Anton Shestakov <av6@dwimlabs.net>
parents:
25125
diff
changeset
|
86 getting files: \xc3\xa9 2/4 files (50.00%) (esc) |
23749
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
87 committing files: |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
88 \xc3\xa8 (esc) |
28470
80bd110dbf5e
convert: specify unit for ui.progress when operating on files
Anton Shestakov <av6@dwimlabs.net>
parents:
25125
diff
changeset
|
89 getting files: \xc3\xa8 3/4 files (75.00%) (esc) |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
90 \xc3\xa8: copy \xc3\xa9:6b67ccefd5ce6de77e7ead4f5292843a0255329f (esc) |
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
91 \xc3\xb9/e\xcc\x81 (esc) |
28470
80bd110dbf5e
convert: specify unit for ui.progress when operating on files
Anton Shestakov <av6@dwimlabs.net>
parents:
25125
diff
changeset
|
92 getting files: \xc3\xb9/e\xcc\x81 4/4 files (100.00%) (esc) |
12942
05fffd665170
tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12679
diff
changeset
|
93 \xc3\xb9/e\xcc\x81: copy \xc3\xa0/e\xcc\x81:a9092a3d84a37b9993b5c73576f6de29b7ea50f6 (esc) |
23749
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
94 committing manifest |
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
95 committing changelog |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
96 2 remove files |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
97 source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/trunk@4 |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
98 converting: 3/6 revisions (50.00%) |
28471
f106913c6a4e
convert: specify unit for ui.progress when scanning paths
Anton Shestakov <av6@dwimlabs.net>
parents:
28470
diff
changeset
|
99 scanning paths: /trunk/\xc3\xa8 0/2 paths (0.00%) (esc) |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
100 gone from -1 |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
101 reparent to file://*/svn-repo (glob) |
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
102 reparent to file://*/svn-repo/trunk (glob) |
28471
f106913c6a4e
convert: specify unit for ui.progress when scanning paths
Anton Shestakov <av6@dwimlabs.net>
parents:
28470
diff
changeset
|
103 scanning paths: /trunk/\xc3\xb9 1/2 paths (50.00%) (esc) |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
104 gone from -1 |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
105 reparent to file://*/svn-repo (glob) |
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
106 reparent to file://*/svn-repo/trunk (glob) |
28470
80bd110dbf5e
convert: specify unit for ui.progress when operating on files
Anton Shestakov <av6@dwimlabs.net>
parents:
25125
diff
changeset
|
107 getting files: \xc3\xa8 1/2 files (50.00%) (esc) |
80bd110dbf5e
convert: specify unit for ui.progress when operating on files
Anton Shestakov <av6@dwimlabs.net>
parents:
25125
diff
changeset
|
108 getting files: \xc3\xb9/e\xcc\x81 2/2 files (100.00%) (esc) |
23749
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
109 committing files: |
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
110 committing manifest |
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
111 committing changelog |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
112 1 branch to branch? |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
113 source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/branches/branch?@5 |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
114 converting: 4/6 revisions (66.67%) |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
115 reparent to file://*/svn-repo/branches/branch%C3%A9 (glob) |
28471
f106913c6a4e
convert: specify unit for ui.progress when scanning paths
Anton Shestakov <av6@dwimlabs.net>
parents:
28470
diff
changeset
|
116 scanning paths: /branches/branch\xc3\xa9 0/1 paths (0.00%) (esc) |
23749
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
117 committing changelog |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
118 0 branch to branch?e |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
119 source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/branches/branch?e@6 |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
120 converting: 5/6 revisions (83.33%) |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
121 reparent to file://*/svn-repo/branches/branch%C3%A9e (glob) |
28471
f106913c6a4e
convert: specify unit for ui.progress when scanning paths
Anton Shestakov <av6@dwimlabs.net>
parents:
28470
diff
changeset
|
122 scanning paths: /branches/branch\xc3\xa9e 0/1 paths (0.00%) (esc) |
23749
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
123 committing changelog |
12679
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
124 reparent to file://*/svn-repo (glob) |
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
125 reparent to file://*/svn-repo/branches/branch%C3%A9e (glob) |
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
126 reparent to file://*/svn-repo (glob) |
5ce3a1eb7f88
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
12640
diff
changeset
|
127 reparent to file://*/svn-repo/branches/branch%C3%A9e (glob) |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
128 updating tags |
23749
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
129 committing files: |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
130 .hgtags |
23749
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
131 committing manifest |
a387b0390082
localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents:
23587
diff
changeset
|
132 committing changelog |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
133 run hg sink post-conversion action |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
134 $ cd A-hg |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
135 $ hg up |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
136 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
8882
48a04961b0dd
convert/svn: remove useless encoding/decoding calls (issue1676)
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
137 |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
138 Check tags are in UTF-8 |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
139 |
12943
7439ea4146f8
tests: use (esc) instead of other kinds of string escaping
Mads Kiilerich <mads@kiilerich.com>
parents:
12942
diff
changeset
|
140 $ cat .hgtags |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13519
diff
changeset
|
141 e94e4422020e715add80525e8f0f46c9968689f1 branch\xc3\xa9e (esc) |
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13519
diff
changeset
|
142 f7e66f98380ed1e53a797c5c7a7a2616a7ab377d branch\xc3\xa9 (esc) |
12370
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
143 |
f98010f57a5e
tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
8887
diff
changeset
|
144 $ cd .. |