tests/test-pathconflicts-update.t
author Yuya Nishihara <yuya@tcha.org>
Sat, 05 Aug 2017 23:15:37 +0900
branchstable
changeset 34912 1e2454b60e59
parent 34691 857fc3313f7b
child 34942 2a774cae3a03
permissions -rw-r--r--
help: do not abort topicmatch() because of unimportable extensions This is alternative workaround to D1198, originally spotted by the earlier version of the releasenotes extension.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
34557
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
     1
  $ hg init repo
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
     2
  $ cd repo
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
     3
  $ echo base > base
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
     4
  $ hg add base
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
     5
  $ hg commit -m "base"
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
     6
  $ hg bookmark -i base
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
     7
  $ mkdir a
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
     8
  $ echo 1 > a/b
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
     9
  $ hg add a/b
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    10
  $ hg commit -m "file"
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    11
  $ hg bookmark -i file
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    12
  $ echo 2 > a/b
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    13
  $ hg commit -m "file2"
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    14
  $ hg bookmark -i file2
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    15
  $ hg up 0
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    16
  0 files updated, 0 files merged, 1 files removed, 0 files unresolved
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    17
  $ mkdir a
34691
857fc3313f7b test-conflicts: conditionalize for no-symlink platforms
Matt Harbison <matt_harbison@yahoo.com>
parents: 34572
diff changeset
    18
#if symlink
34557
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    19
  $ ln -s c a/b
34691
857fc3313f7b test-conflicts: conditionalize for no-symlink platforms
Matt Harbison <matt_harbison@yahoo.com>
parents: 34572
diff changeset
    20
#else
857fc3313f7b test-conflicts: conditionalize for no-symlink platforms
Matt Harbison <matt_harbison@yahoo.com>
parents: 34572
diff changeset
    21
  $ touch a/b
857fc3313f7b test-conflicts: conditionalize for no-symlink platforms
Matt Harbison <matt_harbison@yahoo.com>
parents: 34572
diff changeset
    22
#endif
34557
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    23
  $ hg add a/b
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    24
  $ hg commit -m "link"
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    25
  created new head
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    26
  $ hg bookmark -i link
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    27
  $ hg up 0
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    28
  0 files updated, 0 files merged, 1 files removed, 0 files unresolved
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    29
  $ mkdir -p a/b/c
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    30
  $ echo 2 > a/b/c/d
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    31
  $ hg add a/b/c/d
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    32
  $ hg commit -m "dir"
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    33
  created new head
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    34
  $ hg bookmark -i dir
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    35
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    36
Update - local file conflicts with remote directory:
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    37
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    38
  $ hg up -q 0
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    39
  $ mkdir a
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    40
  $ echo 9 > a/b
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    41
  $ hg up dir
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    42
  a/b: untracked file conflicts with directory
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    43
  abort: untracked files in working directory differ from files in requested revision
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    44
  [255]
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    45
  $ hg up dir --config merge.checkunknown=warn
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    46
  a/b: replacing untracked file
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    47
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    48
  (activating bookmark dir)
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    49
  $ cat a/b.orig
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    50
  9
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    51
  $ rm a/b.orig
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    52
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    53
Update - local symlink conflicts with remote directory:
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    54
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    55
  $ hg up -q 0
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    56
  $ mkdir a
34691
857fc3313f7b test-conflicts: conditionalize for no-symlink platforms
Matt Harbison <matt_harbison@yahoo.com>
parents: 34572
diff changeset
    57
#if symlink
34557
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    58
  $ ln -s x a/b
34691
857fc3313f7b test-conflicts: conditionalize for no-symlink platforms
Matt Harbison <matt_harbison@yahoo.com>
parents: 34572
diff changeset
    59
#else
857fc3313f7b test-conflicts: conditionalize for no-symlink platforms
Matt Harbison <matt_harbison@yahoo.com>
parents: 34572
diff changeset
    60
  $ touch a/b
857fc3313f7b test-conflicts: conditionalize for no-symlink platforms
Matt Harbison <matt_harbison@yahoo.com>
parents: 34572
diff changeset
    61
#endif
34557
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    62
  $ hg up dir
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    63
  a/b: untracked file conflicts with directory
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    64
  abort: untracked files in working directory differ from files in requested revision
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    65
  [255]
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    66
  $ hg up dir --config merge.checkunknown=warn
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    67
  a/b: replacing untracked file
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    68
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    69
  (activating bookmark dir)
34691
857fc3313f7b test-conflicts: conditionalize for no-symlink platforms
Matt Harbison <matt_harbison@yahoo.com>
parents: 34572
diff changeset
    70
#if symlink
34572
d6d10771950c tests: use readlink.py instead of readlink
Augie Fackler <augie@google.com>
parents: 34557
diff changeset
    71
  $ readlink.py a/b.orig
d6d10771950c tests: use readlink.py instead of readlink
Augie Fackler <augie@google.com>
parents: 34557
diff changeset
    72
  a/b.orig -> x
34691
857fc3313f7b test-conflicts: conditionalize for no-symlink platforms
Matt Harbison <matt_harbison@yahoo.com>
parents: 34572
diff changeset
    73
#endif
34557
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    74
  $ rm a/b.orig
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    75
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    76
Update - local directory conflicts with remote file
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    77
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    78
  $ hg up -q 0
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    79
  $ mkdir -p a/b/c
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    80
  $ echo 9 > a/b/c/d
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    81
  $ hg up file
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    82
  a/b: untracked directory conflicts with file
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    83
  abort: untracked files in working directory differ from files in requested revision
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    84
  [255]
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    85
  $ hg up file --config merge.checkunknown=warn
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    86
  a/b: replacing untracked files in directory
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    87
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    88
  (activating bookmark file)
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    89
  $ cat a/b
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    90
  1
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    91
  $ test -d a/b.orig
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    92
  $ rm -rf a/b.orig
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    93
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    94
Update - local directory conflicts with remote symlink
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    95
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    96
  $ hg up -q 0
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    97
  $ mkdir -p a/b/c
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    98
  $ echo 9 > a/b/c/d
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
    99
  $ hg up link
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   100
  a/b: untracked directory conflicts with file
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   101
  abort: untracked files in working directory differ from files in requested revision
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   102
  [255]
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   103
  $ hg up link --config merge.checkunknown=warn
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   104
  a/b: replacing untracked files in directory
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   105
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   106
  (activating bookmark link)
34691
857fc3313f7b test-conflicts: conditionalize for no-symlink platforms
Matt Harbison <matt_harbison@yahoo.com>
parents: 34572
diff changeset
   107
#if symlink
34572
d6d10771950c tests: use readlink.py instead of readlink
Augie Fackler <augie@google.com>
parents: 34557
diff changeset
   108
  $ readlink.py a/b
d6d10771950c tests: use readlink.py instead of readlink
Augie Fackler <augie@google.com>
parents: 34557
diff changeset
   109
  a/b -> c
34691
857fc3313f7b test-conflicts: conditionalize for no-symlink platforms
Matt Harbison <matt_harbison@yahoo.com>
parents: 34572
diff changeset
   110
#endif
34557
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   111
  $ test -d a/b.orig
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   112
  $ rm -rf a/b.orig
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   113
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   114
Update - local renamed file conflicts with remote directory
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   115
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   116
  $ hg up -q 0
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   117
  $ hg mv base a
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   118
  $ hg status -C
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   119
  A a
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   120
    base
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   121
  R base
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   122
  $ hg up --check dir
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   123
  abort: uncommitted changes
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   124
  [255]
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   125
  $ hg up dir
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   126
  a: path conflict - a file or link has the same name as a directory
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   127
  the local file has been renamed to a~d20a80d4def3
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   128
  resolve manually then use 'hg resolve --mark a'
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   129
  1 files updated, 0 files merged, 0 files removed, 1 files unresolved
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   130
  use 'hg resolve' to retry unresolved file merges
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   131
  (activating bookmark dir)
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   132
  [1]
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   133
  $ hg status -C
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   134
  A a~d20a80d4def3
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   135
    base
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   136
  R base
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   137
  $ hg resolve --list
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   138
  P a
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   139
  $ hg up --clean -q 0
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   140
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   141
Update clean - local directory conflicts with changed remote file
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   142
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   143
  $ hg up -q file
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   144
  $ rm a/b
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   145
  $ mkdir a/b
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   146
  $ echo 9 > a/b/c
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   147
  $ hg up file2 --check --config merge.checkunknown=warn
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   148
  abort: uncommitted changes
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   149
  [255]
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   150
  $ hg up file2 --clean
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   151
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   152
  (activating bookmark file2)
3b9428f4403d tests: add test for path conflicts during update
Mark Thomas <mbthomas@fb.com>
parents:
diff changeset
   153