tests/test-copies-unrelated.t
changeset 42595 819712deac69
parent 42594 d013099c551b
child 43140 12b8a2ef8d04
equal deleted inserted replaced
42594:d013099c551b 42595:819712deac69
   297   | o  1 add x
   297   | o  1 add x
   298   |/   x
   298   |/   x
   299   o  0 base
   299   o  0 base
   300      a
   300      a
   301   $ hg debugpathcopies 1 4
   301   $ hg debugpathcopies 1 4
   302   x -> y (no-filelog !)
   302   x -> y
   303 #if filelog
       
   304 BROKEN: This should succeed and merge the changes from x into y
       
   305   $ hg graft -r 2
   303   $ hg graft -r 2
   306   grafting 2:* "modify x" (glob)
   304   grafting 2:* "modify x" (glob)
   307   file 'x' was deleted in local [local] but was modified in other [graft].
   305   merging y and x to y
   308   What do you want to do?
       
   309   use (c)hanged version, leave (d)eleted, or leave (u)nresolved? u
       
   310   abort: unresolved conflicts, can't continue
       
   311   (use 'hg resolve' and 'hg graft --continue')
       
   312   [255]
       
   313 #else
       
   314   $ hg graft -r 2
       
   315   grafting 2:* "modify x" (glob)
       
   316   merging y and x to y
       
   317 #endif
       
   318   $ hg co -qC 2
   306   $ hg co -qC 2
   319   $ hg graft -r 4
   307   $ hg graft -r 4
   320   grafting 4:* "rename x to y"* (glob)
   308   grafting 4:* "rename x to y"* (glob)
   321   merging x and y to y
   309   merging x and y to y
   322 
   310