tests/test-convert-svn-encoding.t
author Mads Kiilerich <madski@unity3d.com>
Thu, 08 Jan 2015 00:01:03 +0100
changeset 23786 7d63398fbfd1
parent 23749 a387b0390082
child 24728 75688a6f0bca
permissions -rw-r--r--
branchmap: use revbranchcache when updating branch map The revbranchcache is read on demand before it will be used for updating the branch map. It is written back when the branchmap is written and it will thus use the same locking as branchmap. The revbranchcache instance is short-lived; it is only stored in the branchmap from .update() is invoked and until .write() is invoked. Branchmap already assume that the repo is locked in that case. The use of revbranchcache for branch map updates will make sure that the revbranchcache "always" is kept up-to-date. The perfbranchmap benchmark is somewhat bogus, especially when we can see that the caching makes a significant difference between the realistic case of a first run and the rare case of rerunning it with a full cache. Here are some 'base' numbers on mozilla-central: Before: ! wall 6.912745 comb 6.910000 user 6.840000 sys 0.070000 (best of 3) After - initial, cache is empty: ! wall 7.792569 comb 7.790000 user 7.720000 sys 0.070000 (best of 3) After - cache is full: ! wall 0.879688 comb 0.880000 user 0.870000 sys 0.010000 (best of 4) The overhead when running with empty cache comes from checking, missing and updating it every time. Most of the performance improvement comes from not having to extract the branch info from the changelog. The last doubling of performance comes from no longer having to convert all branch names to local encoding but reuse the few already converted branch names. On the hg repo: Before: ! wall 0.715703 comb 0.710000 user 0.710000 sys 0.000000 (best of 14) After: ! wall 0.105489 comb 0.110000 user 0.110000 sys 0.000000 (best of 87)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
    13
  $ hg --debug convert svn-repo A-hg
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
23786
7d63398fbfd1 branchmap: use revbranchcache when updating branch map
Mads Kiilerich <madski@unity3d.com>
parents: 23749
diff changeset
    56
  couldn't read revision branch cache names: * (glob)
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
    57
  4 hello
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
    58
  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
    59
  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
    60
  reparent to file://*/svn-repo/trunk (glob)
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    61
  scanning paths: /trunk/\xc3\xa0 0/3 (0.00%) (esc)
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    62
  scanning paths: /trunk/\xc3\xa0/e\xcc\x81 1/3 (33.33%) (esc)
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    63
  scanning paths: /trunk/\xc3\xa9 2/3 (66.67%) (esc)
23749
a387b0390082 localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents: 23587
diff changeset
    64
  committing files:
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    65
  \xc3\xa0/e\xcc\x81 (esc)
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    66
  getting files: \xc3\xa0/e\xcc\x81 1/2 (50.00%) (esc)
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    67
  \xc3\xa9 (esc)
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    68
  getting files: \xc3\xa9 2/2 (100.00%) (esc)
23749
a387b0390082 localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents: 23587
diff changeset
    69
  committing manifest
a387b0390082 localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents: 23587
diff changeset
    70
  committing changelog
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
    71
  3 copy files
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
    72
  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
    73
  converting: 2/6 revisions (33.33%)
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    74
  scanning paths: /trunk/\xc3\xa0 0/4 (0.00%) (esc)
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
    75
  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
    76
  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
    77
  reparent to file://*/svn-repo/trunk (glob)
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    78
  scanning paths: /trunk/\xc3\xa8 1/4 (25.00%) (esc)
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    79
  copied to \xc3\xa8 from \xc3\xa9@2 (esc)
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    80
  scanning paths: /trunk/\xc3\xa9 2/4 (50.00%) (esc)
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
    81
  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
    82
  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
    83
  reparent to file://*/svn-repo/trunk (glob)
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    84
  scanning paths: /trunk/\xc3\xb9 3/4 (75.00%) (esc)
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    85
  mark /trunk/\xc3\xb9 came from \xc3\xa0:2 (esc)
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    86
  getting files: \xc3\xa0/e\xcc\x81 1/4 (25.00%) (esc)
23587
8063901e56cd memctx: calculate exact status being committed from specified files
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 22414
diff changeset
    87
  getting files: \xc3\xa9 2/4 (50.00%) (esc)
23749
a387b0390082 localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents: 23587
diff changeset
    88
  committing files:
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    89
  \xc3\xa8 (esc)
23587
8063901e56cd memctx: calculate exact status being committed from specified files
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 22414
diff changeset
    90
  getting files: \xc3\xa8 3/4 (75.00%) (esc)
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    91
   \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
    92
  \xc3\xb9/e\xcc\x81 (esc)
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    93
  getting files: \xc3\xb9/e\xcc\x81 4/4 (100.00%) (esc)
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
    94
   \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
    95
  committing manifest
a387b0390082 localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents: 23587
diff changeset
    96
  committing changelog
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
    97
  2 remove files
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
    98
  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
    99
  converting: 3/6 revisions (50.00%)
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
   100
  scanning paths: /trunk/\xc3\xa8 0/2 (0.00%) (esc)
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   101
  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
   102
  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
   103
  reparent to file://*/svn-repo/trunk (glob)
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
   104
  scanning paths: /trunk/\xc3\xb9 1/2 (50.00%) (esc)
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   105
  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
   106
  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
   107
  reparent to file://*/svn-repo/trunk (glob)
12942
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
   108
  getting files: \xc3\xa8 1/2 (50.00%) (esc)
05fffd665170 tests: use (esc) for all non-ASCII test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12679
diff changeset
   109
  getting files: \xc3\xb9/e\xcc\x81 2/2 (100.00%) (esc)
23749
a387b0390082 localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents: 23587
diff changeset
   110
  committing files:
a387b0390082 localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents: 23587
diff changeset
   111
  committing manifest
a387b0390082 localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents: 23587
diff changeset
   112
  committing changelog
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   113
  1 branch to branch?
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   114
  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
   115
  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
   116
  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
   117
  scanning paths: /branches/branch\xc3\xa9 0/1 (0.00%) (esc)
23749
a387b0390082 localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents: 23587
diff changeset
   118
  committing changelog
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   119
  0 branch to branch?e
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   120
  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
   121
  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
   122
  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
   123
  scanning paths: /branches/branch\xc3\xa9e 0/1 (0.00%) (esc)
23749
a387b0390082 localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents: 23587
diff changeset
   124
  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
   125
  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
   126
  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
   127
  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
   128
  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
   129
  updating tags
23749
a387b0390082 localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents: 23587
diff changeset
   130
  committing files:
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   131
  .hgtags
23749
a387b0390082 localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents: 23587
diff changeset
   132
  committing manifest
a387b0390082 localrepo: show headline notes in commitctx before showing filenames
Mads Kiilerich <madski@unity3d.com>
parents: 23587
diff changeset
   133
  committing changelog
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   134
  run hg sink post-conversion action
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   135
  $ cd A-hg
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   136
  $ hg up
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   137
  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
   138
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   139
Check tags are in UTF-8
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   140
12943
7439ea4146f8 tests: use (esc) instead of other kinds of string escaping
Mads Kiilerich <mads@kiilerich.com>
parents: 12942
diff changeset
   141
  $ 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
   142
  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
   143
  f7e66f98380ed1e53a797c5c7a7a2616a7ab377d branch\xc3\xa9 (esc)
12370
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   144
f98010f57a5e tests: unify test-convert-svn-*
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 8887
diff changeset
   145
  $ cd ..