tests/test-convert-cvsnt-mergepoints.t
author Jun Wu <quark@fb.com>
Tue, 05 Sep 2017 13:37:36 -0700
changeset 34087 5361771f9714
parent 23675 96529f81e2e9
child 44722 e5e5ee2b60e4
permissions -rw-r--r--
wrapfunction: use functools.partial if possible Every `extensions.bind` call inserts a frame in traceback: ... in closure return func(*(args + a), **kw) which makes traceback noisy. The Python stdlib has a `functools.partial` which is backed by C code and does not pollute traceback. However it does not support instancemethod and sets `args` attribute which could be problematic for alias handling. This patch makes `wrapfunction` use `functools.partial` if we are wrapping a function directly exported by a module (so it's impossible to be a class or instance method), and special handles `wrapfunction` results so alias handling code could handle `args` just fine. As an example, `hg rebase -s . -d . --traceback` got 6 lines removed in my setup: File "hg/mercurial/dispatch.py", line 898, in _dispatch cmdpats, cmdoptions) -File "hg/mercurial/extensions.py", line 333, in closure - return func(*(args + a), **kw) File "hg/hgext/journal.py", line 84, in runcommand return orig(lui, repo, cmd, fullargs, *args) -File "hg/mercurial/extensions.py", line 333, in closure - return func(*(args + a), **kw) File "fb-hgext/hgext3rd/fbamend/hiddenoverride.py", line 119, in runcommand result = orig(lui, repo, cmd, fullargs, *args) File "hg/mercurial/dispatch.py", line 660, in runcommand ret = _runcommand(ui, options, cmd, d) -File "hg/mercurial/extensions.py", line 333, in closure - return func(*(args + a), **kw) File "hg/hgext/pager.py", line 69, in pagecmd return orig(ui, options, cmd, cmdfunc) .... Differential Revision: https://phab.mercurial-scm.org/D632
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 cvs
7956
3e7611a83230 convert: added cvsnt mergepoint support
Henrik Stuart <henrik.stuart@edlund.dk>
parents:
diff changeset
     2
12523
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
     3
  $ filterpath()
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
     4
  > {
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
     5
  >     eval "$@" | sed "s:$CVSROOT:*REPO*:g"
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
     6
  > }
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
     7
  $ cvscall()
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
     8
  > {
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
     9
  >     cvs -f "$@"
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    10
  > }
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    11
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    12
output of 'cvs ci' varies unpredictably, so discard most of it
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    13
-- just keep the part that matters
7956
3e7611a83230 convert: added cvsnt mergepoint support
Henrik Stuart <henrik.stuart@edlund.dk>
parents:
diff changeset
    14
12523
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    15
  $ cvsci()
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    16
  > {
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    17
  >     cvs -f ci -f "$@" > /dev/null
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    18
  > }
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    19
  $ hgcat()
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    20
  > {
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    21
  >     hg --cwd src-hg cat -r tip "$1"
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    22
  > }
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    23
  $ echo "[extensions]" >> $HGRCPATH
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    24
  $ echo "convert = " >> $HGRCPATH
8819
e93ab347c814 test-convert-cvsnt-mergepoints: ignore differences between CVS 1.11 and 1.12.
Greg Ward <greg-hg@gerg.ca>
parents: 8818
diff changeset
    25
12523
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    26
create cvs repository
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    27
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    28
  $ mkdir cvsmaster
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    29
  $ cd cvsmaster
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    30
  $ CVSROOT=`pwd`
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    31
  $ export CVSROOT
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    32
  $ CVS_OPTIONS=-f
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    33
  $ export CVS_OPTIONS
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    34
  $ cd ..
23675
96529f81e2e9 tests: run 'cvs init' only on non-existent directories (issue4482)
Thomas Klausner <tk@giga.or.at>
parents: 22046
diff changeset
    35
  $ rmdir cvsmaster
12523
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    36
  $ filterpath cvscall -Q -d "$CVSROOT" init
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    37
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    38
checkout #1: add foo.txt
7956
3e7611a83230 convert: added cvsnt mergepoint support
Henrik Stuart <henrik.stuart@edlund.dk>
parents:
diff changeset
    39
12523
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    40
  $ cvscall -Q checkout -d cvsworktmp .
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    41
  $ cd cvsworktmp
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    42
  $ mkdir foo
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    43
  $ cvscall -Q add foo
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    44
  $ cd foo
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    45
  $ echo foo > foo.txt
17345
4f8054d3171b check-code: fix check for trailing whitespace on sh command lines
Mads Kiilerich <mads@kiilerich.com>
parents: 16972
diff changeset
    46
  $ cvscall -Q add foo.txt
12523
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    47
  $ cvsci -m "add foo.txt" foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    48
  $ cd ../..
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    49
  $ rm -rf cvsworktmp
8819
e93ab347c814 test-convert-cvsnt-mergepoints: ignore differences between CVS 1.11 and 1.12.
Greg Ward <greg-hg@gerg.ca>
parents: 8818
diff changeset
    50
12523
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    51
checkout #2: create MYBRANCH1 and modify foo.txt on it
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    52
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    53
  $ cvscall -Q checkout -d cvswork foo
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    54
  $ cd cvswork
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    55
  $ cvscall -q rtag -b -R MYBRANCH1 foo
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    56
  $ cvscall -Q update -P -r MYBRANCH1
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    57
  $ echo bar > foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    58
  $ cvsci -m "bar" foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    59
  $ echo baz > foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    60
  $ cvsci -m "baz" foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    61
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    62
create MYBRANCH1_2 and modify foo.txt some more
7956
3e7611a83230 convert: added cvsnt mergepoint support
Henrik Stuart <henrik.stuart@edlund.dk>
parents:
diff changeset
    63
12523
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    64
  $ cvscall -q rtag -b -R -r MYBRANCH1 MYBRANCH1_2 foo
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    65
  $ cvscall -Q update -P -r MYBRANCH1_2
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    66
  $ echo bazzie > foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    67
  $ cvsci -m "bazzie" foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    68
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    69
create MYBRANCH1_1 and modify foo.txt yet again
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    70
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    71
  $ cvscall -q rtag -b -R MYBRANCH1_1 foo
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    72
  $ cvscall -Q update -P -r MYBRANCH1_1
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    73
  $ echo quux > foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    74
  $ cvsci -m "quux" foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    75
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    76
merge MYBRANCH1 to MYBRANCH1_1
7956
3e7611a83230 convert: added cvsnt mergepoint support
Henrik Stuart <henrik.stuart@edlund.dk>
parents:
diff changeset
    77
12523
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    78
  $ filterpath cvscall -Q update -P -jMYBRANCH1
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    79
  rcsmerge: warning: conflicts during merge
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    80
  RCS file: *REPO*/foo/foo.txt,v
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    81
  retrieving revision 1.1
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    82
  retrieving revision 1.1.2.2
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    83
  Merging differences between 1.1 and 1.1.2.2 into foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    84
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    85
carefully placed sleep to dodge cvs bug (optimization?) where it
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    86
sometimes ignores a "commit" command if it comes too fast (the -f
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    87
option in cvsci seems to work for all the other commits in this
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    88
script)
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    89
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    90
  $ sleep 1
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    91
  $ echo xyzzy > foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    92
  $ cvsci -m "merge1+clobber" foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    93
16972
5efe9c6a34fe tests: add some missing #if's / hghave requirements
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
    94
#if unix-permissions
5efe9c6a34fe tests: add some missing #if's / hghave requirements
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
    95
12523
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    96
return to trunk and merge MYBRANCH1_2
7956
3e7611a83230 convert: added cvsnt mergepoint support
Henrik Stuart <henrik.stuart@edlund.dk>
parents:
diff changeset
    97
12523
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    98
  $ cvscall -Q update -P -A
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
    99
  $ filterpath cvscall -Q update -P -jMYBRANCH1_2
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   100
  RCS file: *REPO*/foo/foo.txt,v
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   101
  retrieving revision 1.1
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   102
  retrieving revision 1.1.2.2.2.1
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   103
  Merging differences between 1.1 and 1.1.2.2.2.1 into foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   104
  $ cvsci -m "merge2" foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   105
  $ REALCVS=`which cvs`
16350
4f795f5fbb0b tests: make tests work if directory contains special characters
Thomas Arendsen Hein <thomas@intevation.de>
parents: 12523
diff changeset
   106
  $ echo "for x in \$*; do if [ \"\$x\" = \"rlog\" ]; then echo \"RCS file: $CVSROOT/foo/foo.txt,v\"; cat \"$TESTDIR/test-convert-cvsnt-mergepoints.rlog\"; exit 0; fi; done; $REALCVS \$*" > ../cvs
12523
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   107
  $ chmod +x ../cvs
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   108
  $ PATH=..:${PATH} hg debugcvsps --parents foo
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   109
  collecting CVS rlog
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   110
  7 log entries
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   111
  creating changesets
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   112
  7 changeset entries
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   113
  ---------------------
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   114
  PatchSet 1 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   115
  Date: * (glob)
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   116
  Author: user
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   117
  Branch: HEAD
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   118
  Tag: (none) 
18375
cfbd33020066 convert: report cvsps branchpoints sorted
Mads Kiilerich <mads@kiilerich.com>
parents: 17345
diff changeset
   119
  Branchpoints: MYBRANCH1, MYBRANCH1_1 
12523
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   120
  Log:
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   121
  foo.txt
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   122
  
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   123
  Members: 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   124
  	foo.txt:INITIAL->1.1 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   125
  
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   126
  ---------------------
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   127
  PatchSet 2 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   128
  Date: * (glob)
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   129
  Author: user
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   130
  Branch: MYBRANCH1
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   131
  Tag: (none) 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   132
  Parent: 1
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   133
  Log:
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   134
  bar
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   135
  
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   136
  Members: 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   137
  	foo.txt:1.1->1.1.2.1 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   138
  
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   139
  ---------------------
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   140
  PatchSet 3 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   141
  Date: * (glob)
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   142
  Author: user
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   143
  Branch: MYBRANCH1
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   144
  Tag: (none) 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   145
  Branchpoints: MYBRANCH1_2 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   146
  Parent: 2
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   147
  Log:
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   148
  baz
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   149
  
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   150
  Members: 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   151
  	foo.txt:1.1.2.1->1.1.2.2 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   152
  
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   153
  ---------------------
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   154
  PatchSet 4 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   155
  Date: * (glob)
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   156
  Author: user
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   157
  Branch: MYBRANCH1_1
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   158
  Tag: (none) 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   159
  Parent: 1
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   160
  Log:
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   161
  quux
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   162
  
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   163
  Members: 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   164
  	foo.txt:1.1->1.1.4.1 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   165
  
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   166
  ---------------------
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   167
  PatchSet 5 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   168
  Date: * (glob)
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   169
  Author: user
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   170
  Branch: MYBRANCH1_2
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   171
  Tag: (none) 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   172
  Parent: 3
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   173
  Log:
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   174
  bazzie
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   175
  
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   176
  Members: 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   177
  	foo.txt:1.1.2.2->1.1.2.2.2.1 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   178
  
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   179
  ---------------------
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   180
  PatchSet 6 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   181
  Date: * (glob)
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   182
  Author: user
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   183
  Branch: HEAD
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   184
  Tag: (none) 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   185
  Parents: 1,5
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   186
  Log:
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   187
  merge
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   188
  
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   189
  Members: 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   190
  	foo.txt:1.1->1.2 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   191
  
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   192
  ---------------------
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   193
  PatchSet 7 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   194
  Date: * (glob)
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   195
  Author: user
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   196
  Branch: MYBRANCH1_1
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   197
  Tag: (none) 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   198
  Parents: 4,3
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   199
  Log:
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   200
  merge
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   201
  
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   202
  Members: 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   203
  	foo.txt:1.1.4.1->1.1.4.2 
a164a9cff771 tests: unify test-convert-cvsnt-mergepoints
Matt Mackall <mpm@selenic.com>
parents: 9543
diff changeset
   204
  
16972
5efe9c6a34fe tests: add some missing #if's / hghave requirements
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
   205
#endif
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16350
diff changeset
   206
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16350
diff changeset
   207
  $ cd ..