tests/test-copies.t
changeset 46480 e948ad0dcbe2
parent 46471 1d6d1a15a963
child 46686 86ee73018e62
equal deleted inserted replaced
46479:095fa99ae5f5 46480:e948ad0dcbe2
    93      x y
    93      x y
    94   $ hg debugp1copies -r 1
    94   $ hg debugp1copies -r 1
    95   x -> y
    95   x -> y
    96   $ hg debugpathcopies 0 1
    96   $ hg debugpathcopies 0 1
    97   x -> y (no-filelog !)
    97   x -> y (no-filelog !)
       
    98   $ hg debugpathcopies 0 1  --config devel.copy-tracing.trace-all-files=yes
       
    99   x -> y
    98 
   100 
    99 Copy a file onto another file with same content. If metadata is stored in changeset, this does not
   101 Copy a file onto another file with same content. If metadata is stored in changeset, this does not
   100 produce a new filelog entry. The changeset's "files" entry should still list the file.
   102 produce a new filelog entry. The changeset's "files" entry should still list the file.
   101   $ newrepo
   103   $ newrepo
   102   $ echo x > x
   104   $ echo x > x
   111      x x2
   113      x x2
   112   $ hg debugp1copies -r 1
   114   $ hg debugp1copies -r 1
   113   x -> x2
   115   x -> x2
   114   $ hg debugpathcopies 0 1
   116   $ hg debugpathcopies 0 1
   115   x -> x2 (no-filelog !)
   117   x -> x2 (no-filelog !)
       
   118   $ hg debugpathcopies 0 1  --config devel.copy-tracing.trace-all-files=yes
       
   119   x -> x2
   116 
   120 
   117 Rename file in a loop: x->y->z->x
   121 Rename file in a loop: x->y->z->x
   118   $ newrepo
   122   $ newrepo
   119   $ echo x > x
   123   $ echo x > x
   120   $ hg ci -Aqm 'add x'
   124   $ hg ci -Aqm 'add x'