##// END OF EJS Templates
Add a features list to branches.cache to detect caches of old hg versions....
Add a features list to branches.cache to detect caches of old hg versions. The leading space in the written file makes sure that the feature list never can match an existing version, even if the first feature can be read as hex. Additionally old hg versions display the id with --debug, too.

File last commit:

r2175:b2ae81a7 default
r4168:bbfe5a3f default
Show More
test-rename.out
302 lines | 7.0 KiB | text/plain | TextLexer
Robin Farine
generalize copy/rename to handle more than one source directory
r1512 # rename a single file
A d2/c
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
Robin Farine
fix rename --after
r1565 # rename --after a single file
A d2/c
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
Robin Farine
generalize copy/rename to handle more than one source directory
r1512 # move a single file to an existing directory
A d2/a1
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
Robin Farine
fix rename --after
r1565 # move --after a single file to an existing directory
A d2/a1
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
Robin Farine
fix rename --after
r1565 # rename a file using a relative path
A d1/d11/e
R d2/b
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
Robin Farine
fix rename --after
r1565 # rename --after a file using a relative path
A d1/d11/e
R d2/b
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
Robin Farine
generalize copy/rename to handle more than one source directory
r1512 # rename directory d1 as d3
copying d1/a to d3/a
copying d1/b to d3/b
copying d1/ba to d3/ba
copying d1/d11/a1 to d3/d11/a1
removing d1/a
removing d1/b
removing d1/ba
removing d1/d11/a1
A d3/a
A d3/b
A d3/ba
A d3/d11/a1
R d1/a
R d1/b
R d1/ba
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 4 files updated, 0 files merged, 4 files removed, 0 files unresolved
Robin Farine
fix rename --after
r1565 # rename --after directory d1 as d3
copying d1/a to d3/a
copying d1/b to d3/b
copying d1/ba to d3/ba
copying d1/d11/a1 to d3/d11/a1
removing d1/a
removing d1/b
removing d1/ba
removing d1/d11/a1
A d3/a
A d3/b
A d3/ba
A d3/d11/a1
R d1/a
R d1/b
R d1/ba
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 4 files updated, 0 files merged, 4 files removed, 0 files unresolved
Robin Farine
fix rename --after
r1565 # move a directory using a relative path
copying ../d1/d11/a1 to d3/d11/a1
removing ../d1/d11/a1
A d2/d3/d11/a1
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
Robin Farine
fix rename --after
r1565 # move --after a directory using a relative path
copying ../d1/d11/a1 to d3/d11/a1
removing ../d1/d11/a1
A d2/d3/d11/a1
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
Robin Farine
generalize copy/rename to handle more than one source directory
r1512 # move directory d1/d11 to an existing directory d2 (removes empty d1)
copying d1/d11/a1 to d2/d11/a1
removing d1/d11/a1
A d2/d11/a1
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
Robin Farine
generalize copy/rename to handle more than one source directory
r1512 # move directories d1 and d2 to a new directory d3
copying d1/a to d3/d1/a
copying d1/b to d3/d1/b
copying d1/ba to d3/d1/ba
copying d1/d11/a1 to d3/d1/d11/a1
copying d2/b to d3/d2/b
removing d1/a
removing d1/b
removing d1/ba
removing d1/d11/a1
removing d2/b
A d3/d1/a
A d3/d1/b
A d3/d1/ba
A d3/d1/d11/a1
A d3/d2/b
R d1/a
R d1/b
R d1/ba
R d1/d11/a1
R d2/b
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 5 files updated, 0 files merged, 5 files removed, 0 files unresolved
Robin Farine
fix rename --after
r1565 # move --after directories d1 and d2 to a new directory d3
copying d1/a to d3/d1/a
copying d1/b to d3/d1/b
copying d1/ba to d3/d1/ba
copying d1/d11/a1 to d3/d1/d11/a1
copying d2/b to d3/d2/b
removing d1/a
removing d1/b
removing d1/ba
removing d1/d11/a1
removing d2/b
A d3/d1/a
A d3/d1/b
A d3/d1/ba
A d3/d1/d11/a1
A d3/d2/b
R d1/a
R d1/b
R d1/ba
R d1/d11/a1
R d2/b
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 5 files updated, 0 files merged, 5 files removed, 0 files unresolved
Robin Farine
generalize copy/rename to handle more than one source directory
r1512 # move everything under directory d1 to existing directory d2, do not
# overwrite existing files (d2/b)
Robin Farine
copy & rename don't overwrite unless --force is specified
r1513 d2/b: not overwriting - file exists
Robin Farine
generalize copy/rename to handle more than one source directory
r1512 copying d1/d11/a1 to d2/d11/a1
removing d1/d11/a1
A d2/a
A d2/ba
A d2/d11/a1
R d1/a
R d1/ba
R d1/d11/a1
1c1
< d1/b
---
> d2/b
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 3 files updated, 0 files merged, 3 files removed, 0 files unresolved
Robin Farine
generalize copy/rename to handle more than one source directory
r1512 # attempt to move potentially more than one file into a non-existent
# directory
abort: with multiple sources, destination must be an existing directory
# move every file under d1 to d2/d21 (glob)
copying d1/a to d2/d21/a
copying d1/b to d2/d21/b
copying d1/ba to d2/d21/ba
copying d1/d11/a1 to d2/d21/a1
removing d1/a
removing d1/b
removing d1/ba
removing d1/d11/a1
A d2/d21/a
A d2/d21/a1
A d2/d21/b
A d2/d21/ba
R d1/a
R d1/b
R d1/ba
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 4 files updated, 0 files merged, 4 files removed, 0 files unresolved
Robin Farine
fix rename --after
r1565 # move --after some files under d1 to d2/d21 (glob)
copying d1/a to d2/d21/a
copying d1/d11/a1 to d2/d21/a1
removing d1/a
removing d1/d11/a1
A d2/d21/a
A d2/d21/a1
R d1/a
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 2 files updated, 0 files merged, 2 files removed, 0 files unresolved
Robin Farine
generalize copy/rename to handle more than one source directory
r1512 # move every file under d1 starting with an 'a' to d2/d21 (regexp)
copying d1/a to d2/d21/a
copying d1/d11/a1 to d2/d21/a1
removing d1/a
removing d1/d11/a1
A d2/d21/a
A d2/d21/a1
R d1/a
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 2 files updated, 0 files merged, 2 files removed, 0 files unresolved
Robin Farine
copy & rename don't overwrite unless --force is specified
r1513 # attempt to overwrite an existing file
d1/ca: not overwriting - file exists
? d1/ca
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
Robin Farine
copy & rename don't overwrite unless --force is specified
r1513 # forced overwrite of an existing file
A d1/ca
R d1/ba
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
Robin Farine
copy & rename don't overwrite unless --force is specified
r1513 # replace a symlink with a file
A d1/ca
R d1/ba
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
Robin Farine
avoid to copy more than one file to the same destination file
r1514 # do not copy more than one source file to the same destination file
copying d1/d11/a1 to d3/d11/a1
d3/b: not overwriting - d2/b collides with d1/b
removing d1/d11/a1
A d3/a
A d3/b
A d3/ba
A d3/d11/a1
R d1/a
R d1/b
R d1/ba
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 4 files updated, 0 files merged, 4 files removed, 0 files unresolved
Robin Farine
copy/rename '.' or '..' correctly
r1633 # move a whole subtree with "hg rename ."
copying a to ../d3/d1/a
copying b to ../d3/d1/b
copying ba to ../d3/d1/ba
copying d11/a1 to ../d3/d1/d11/a1
removing a
removing b
removing ba
removing d11/a1
A d3/d1/a
A d3/d1/b
A d3/d1/ba
A d3/d1/d11/a1
R d1/a
R d1/b
R d1/ba
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 4 files updated, 0 files merged, 4 files removed, 0 files unresolved
Robin Farine
copy/rename '.' or '..' correctly
r1633 # move a whole subtree with "hg rename --after ."
copying a to ../d3/a
copying b to ../d3/b
copying ba to ../d3/ba
copying d11/a1 to ../d3/d11/a1
removing a
removing b
removing ba
removing d11/a1
A d3/a
A d3/b
A d3/ba
A d3/d11/a1
R d1/a
R d1/b
R d1/ba
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 4 files updated, 0 files merged, 4 files removed, 0 files unresolved
Robin Farine
copy/rename '.' or '..' correctly
r1633 # move the parent tree with "hg rename .."
copying ../a to ../../d3/a
copying ../b to ../../d3/b
copying ../ba to ../../d3/ba
copying a1 to ../../d3/d11/a1
removing ../a
removing ../b
removing ../ba
removing a1
A d3/a
A d3/b
A d3/ba
A d3/d11/a1
R d1/a
R d1/b
R d1/ba
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 4 files updated, 0 files merged, 4 files removed, 0 files unresolved
Robin Farine
copy & rename can ignore removed source files...
r1634 # skip removed files
copying d1/a to d3/a
copying d1/ba to d3/ba
copying d1/d11/a1 to d3/d11/a1
removing d1/a
removing d1/ba
removing d1/d11/a1
A d3/a
A d3/ba
A d3/d11/a1
R d1/a
R d1/b
R d1/ba
R d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 4 files updated, 0 files merged, 3 files removed, 0 files unresolved
Robin Farine
transitive copy/rename...
r1747 # transitive rename
A d1/bc
R d1/b
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
Robin Farine
transitive copy/rename...
r1747 # transitive rename --after
A d1/bc
R d1/b
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
Robin Farine
copy/rename to a removed destination file...
r1822 # idempotent renames (d1/b -> d1/bb followed by d1/bb -> d1/b)
M d1/b
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Thomas Arendsen Hein
Enable path validation for copy, rename, debugwalk and other canonpath users....
r1976 # check illegal path components
abort: path contains illegal component: .hg/foo
abort: ../foo not under root
abort: path contains illegal component: .hg/foo
! d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Thomas Arendsen Hein
Enable path validation for copy, rename, debugwalk and other canonpath users....
r1976 abort: path contains illegal component: .hg/a1
abort: ../a1 not under root
abort: path contains illegal component: .hg/a1
! d1/d11/a1
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Thomas Arendsen Hein
Enable path validation for copy, rename, debugwalk and other canonpath users....
r1976 abort: path contains illegal component: .hg/foo
abort: ../../../foo not under root