Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 481:2705d20f77c9
hg import checking for quiet mode didn't work. Fixed using the ui module.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hg import checking for quiet mode didn't work. Fixed using the ui module.
manifest hash: 3418ba604188b5abb2554615aff0ae59f4fee882
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCvqsfW7P1GVgWeRoRAjWVAJ9eNW+GnTJGvXMLxr1uPy5wM40gcQCeP6QO
7qW+m8/YmXLLi+vn2ETyWrM=
=UGui
-----END PGP SIGNATURE-----
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 26 Jun 2005 14:18:23 +0100 |
parents | 430a10669928 |
children | 84d5ddf82856 |
comparison
equal
deleted
inserted
replaced
480:430a10669928 | 481:2705d20f77c9 |
---|---|
429 | 429 |
430 f = os.popen("patch -p%d < %s" % (strip, pf)) | 430 f = os.popen("patch -p%d < %s" % (strip, pf)) |
431 files = [] | 431 files = [] |
432 for l in f.read().splitlines(): | 432 for l in f.read().splitlines(): |
433 l.rstrip('\r\n'); | 433 l.rstrip('\r\n'); |
434 if not quiet: | 434 ui.status("%s\n" % l) |
435 print l | |
436 if l[:14] == 'patching file ': | 435 if l[:14] == 'patching file ': |
437 pf = l[14:] | 436 pf = l[14:] |
438 if pf not in files: | 437 if pf not in files: |
439 files.append(pf) | 438 files.append(pf) |
440 patcherr = f.close() | 439 patcherr = f.close() |