comparison mercurial/commands.py @ 547:4fc63e22b1fe

Merge with TAH -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Merge with TAH manifest hash: 1742d7ba2093dc643b57e45167cb2d794212cbb9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCxPCQywK+sNU5EO8RAkr0AJ9qut/31lCLQ/xY3FWaF3c21RhS7wCfW1eV 3WexPDsJldMAr3V5vc9eowA= =pJYu -----END PGP SIGNATURE-----
author mpm@selenic.com
date Thu, 30 Jun 2005 23:28:16 -0800
parents 411e05b04ffa c8ae964109c1
children 92b60cabf808 2204311609a0
comparison
equal deleted inserted replaced
540:53872e2be33a 547:4fc63e22b1fe
135 description = changes[4].strip() 135 description = changes[4].strip()
136 if description: 136 if description:
137 if ui.verbose: 137 if ui.verbose:
138 ui.status("description:\n") 138 ui.status("description:\n")
139 ui.status(description) 139 ui.status(description)
140 ui.status("\n") 140 ui.status("\n\n")
141 else: 141 else:
142 ui.status("summary: %s\n" % description.splitlines()[0]) 142 ui.status("summary: %s\n" % description.splitlines()[0])
143 ui.status("\n") 143 ui.status("\n")
144 144
145 def show_version(ui): 145 def show_version(ui):
293 shutil.rmtree(self.dir, True) 293 shutil.rmtree(self.dir, True)
294 294
295 d = dircleanup(dest) 295 d = dircleanup(dest)
296 296
297 link = 0 297 link = 0
298 if not source.startswith("http://"): 298 if not (source.startswith("http://") or
299 source.startswith("hg://") or
300 source.startswith("old-http://")):
299 d1 = os.stat(dest).st_dev 301 d1 = os.stat(dest).st_dev
300 d2 = os.stat(source).st_dev 302 d2 = os.stat(source).st_dev
301 if d1 == d2: link = 1 303 if d1 == d2: link = 1
302 304
303 if link: 305 if link: