tests/test-parents.t
author Nicolas Dumazet <nicdumz.commits@gmail.com>
Mon, 16 Aug 2010 10:58:03 +0900
changeset 11907 863567a1364f
parent 11813 6c8e824970d1
child 12316 4134686b83e1
permissions -rw-r--r--
tests: use regular expressions instead of helpers
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
     1
test parents command
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
     2
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
     3
  $ hg init repo
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
     4
  $ cd repo
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
     5
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
     6
no working directory
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
     7
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
     8
  $ hg parents
4584
0d26e3d0eeeb Make parents with a file but not a revision use working directory revision.
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     9
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    10
  $ echo a > a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    11
  $ echo b > b
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    12
  $ hg ci -Amab -d '0 0'
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    13
  adding a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    14
  adding b
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    15
  $ echo a >> a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    16
  $ hg ci -Ama -d '1 0'
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    17
  $ echo b >> b
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    18
  $ hg ci -Amb -d '2 0'
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    19
  $ echo c > c
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    20
  $ hg ci -Amc -d '3 0'
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    21
  adding c
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    22
  $ hg up -C 1
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    23
  1 files updated, 0 files merged, 1 files removed, 0 files unresolved
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    24
  $ echo d > c
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    25
  $ hg ci -Amc2 -d '4 0'
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    26
  adding c
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    27
  created new head
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    28
  $ hg up -C 3
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    29
  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    30
4584
0d26e3d0eeeb Make parents with a file but not a revision use working directory revision.
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    31
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    32
  $ hg parents
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    33
  changeset:   3:02d851b7e549
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    34
  user:        test
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    35
  date:        Thu Jan 01 00:00:03 1970 +0000
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    36
  summary:     c
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    37
  
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    38
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    39
  $ hg parents a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    40
  changeset:   1:d786049f033a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    41
  user:        test
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    42
  date:        Thu Jan 01 00:00:01 1970 +0000
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    43
  summary:     a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    44
  
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    45
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    46
hg parents c, single revision
4584
0d26e3d0eeeb Make parents with a file but not a revision use working directory revision.
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    47
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    48
  $ hg parents c
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    49
  changeset:   3:02d851b7e549
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    50
  user:        test
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    51
  date:        Thu Jan 01 00:00:03 1970 +0000
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    52
  summary:     c
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    53
  
4584
0d26e3d0eeeb Make parents with a file but not a revision use working directory revision.
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    54
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    55
  $ hg parents -r 3 c
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    56
  abort: 'c' not found in manifest!
4584
0d26e3d0eeeb Make parents with a file but not a revision use working directory revision.
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    57
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    58
  $ hg parents -r 2
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    59
  changeset:   1:d786049f033a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    60
  user:        test
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    61
  date:        Thu Jan 01 00:00:01 1970 +0000
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    62
  summary:     a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    63
  
5299
5a4824f6665c Test parents behaviour with files.
Patrick Mezard <pmezard@gmail.com>
parents: 4894
diff changeset
    64
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    65
  $ hg parents -r 2 a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    66
  changeset:   1:d786049f033a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    67
  user:        test
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    68
  date:        Thu Jan 01 00:00:01 1970 +0000
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    69
  summary:     a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    70
  
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    71
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    72
  $ hg parents -r 2 ../a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    73
  abort: ../a not under root
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    74
5299
5a4824f6665c Test parents behaviour with files.
Patrick Mezard <pmezard@gmail.com>
parents: 4894
diff changeset
    75
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    76
cd dir; hg parents -r 2 ../a
4894
be5dc5e3ab2d hg parents: don't pass an OS-specific path to repo.filectx
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4584
diff changeset
    77
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    78
  $ mkdir dir
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    79
  $ cd dir
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    80
  $ hg parents -r 2 ../a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    81
  changeset:   1:d786049f033a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    82
  user:        test
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    83
  date:        Thu Jan 01 00:00:01 1970 +0000
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    84
  summary:     a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    85
  
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    86
  $ hg parents -r 2 path:a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    87
  changeset:   1:d786049f033a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    88
  user:        test
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    89
  date:        Thu Jan 01 00:00:01 1970 +0000
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    90
  summary:     a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    91
  
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    92
  $ cd ..
4894
be5dc5e3ab2d hg parents: don't pass an OS-specific path to repo.filectx
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4584
diff changeset
    93
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    94
  $ hg parents -r 2 glob:a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    95
  abort: can only specify an explicit filename
4894
be5dc5e3ab2d hg parents: don't pass an OS-specific path to repo.filectx
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4584
diff changeset
    96
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    97
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
    98
merge working dir with 2 parents, hg parents c
4894
be5dc5e3ab2d hg parents: don't pass an OS-specific path to repo.filectx
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4584
diff changeset
    99
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   100
  $ HGMERGE=true hg merge
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   101
  merging c
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   102
  0 files updated, 1 files merged, 0 files removed, 0 files unresolved
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   103
  (branch merge, don't forget to commit)
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   104
  $ hg parents c
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   105
  changeset:   3:02d851b7e549
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   106
  user:        test
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   107
  date:        Thu Jan 01 00:00:03 1970 +0000
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   108
  summary:     c
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   109
  
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   110
  changeset:   4:48cee28d4b4e
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   111
  tag:         tip
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   112
  parent:      1:d786049f033a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   113
  user:        test
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   114
  date:        Thu Jan 01 00:00:04 1970 +0000
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   115
  summary:     c2
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   116
  
4894
be5dc5e3ab2d hg parents: don't pass an OS-specific path to repo.filectx
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 4584
diff changeset
   117
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   118
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   119
merge working dir with 1 parent, hg parents
5299
5a4824f6665c Test parents behaviour with files.
Patrick Mezard <pmezard@gmail.com>
parents: 4894
diff changeset
   120
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   121
  $ hg up -C 2
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   122
  0 files updated, 0 files merged, 1 files removed, 0 files unresolved
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   123
  $ HGMERGE=true hg merge -r 4
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   124
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   125
  (branch merge, don't forget to commit)
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   126
  $ hg parents
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   127
  changeset:   2:6cfac479f009
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   128
  user:        test
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   129
  date:        Thu Jan 01 00:00:02 1970 +0000
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   130
  summary:     b
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   131
  
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   132
  changeset:   4:48cee28d4b4e
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   133
  tag:         tip
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   134
  parent:      1:d786049f033a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   135
  user:        test
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   136
  date:        Thu Jan 01 00:00:04 1970 +0000
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   137
  summary:     c2
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   138
  
5299
5a4824f6665c Test parents behaviour with files.
Patrick Mezard <pmezard@gmail.com>
parents: 4894
diff changeset
   139
11813
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   140
merge working dir with 1 parent, hg parents c
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   141
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   142
  $ hg parents c
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   143
  changeset:   4:48cee28d4b4e
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   144
  tag:         tip
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   145
  parent:      1:d786049f033a
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   146
  user:        test
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   147
  date:        Thu Jan 01 00:00:04 1970 +0000
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   148
  summary:     c2
6c8e824970d1 tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 5299
diff changeset
   149