Make cloning by hardlink quiet again

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Make cloning by hardlink quiet again

manifest hash: bd12b4deedb99e06415619f858b95b566a6d329e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCzvGGywK+sNU5EO8RAiCzAJ9iCRbyijLT7PqkgCI9eFn+9pl+KQCfdcB1
yHxfvLCL39wAAcBo6Hebpvo=
=qne+
-----END PGP SIGNATURE-----
This commit is contained in:
Matt Mackall 2005-07-08 13:35:02 -08:00
parent 7ad3935fdb
commit 23c3e09d30

View File

@ -388,7 +388,7 @@ def clone(ui, source, dest = None, **opts):
other = hg.repository(ui, source)
if other.dev() != -1 and os.stat(dest).st_dev == other.dev():
ui.status("cloning by hardlink\n")
ui.note("cloning by hardlink\n")
util.system("cp -al '%s'/.hg '%s'/.hg" % (source, dest))
try:
os.remove(os.path.join(dest, ".hg", "dirstate"))