comparison mercurial/commands.py @ 711:734712f37de3

Show filename for hg export in verbose mode. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Show filename for hg export in verbose mode. manifest hash: 4fbb7bb566ef04e64079fb1fd61974ad47f22e7c -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC15svW7P1GVgWeRoRAleQAJ4kXmyj+56kTb5lV9VrQYpu4O3h5ACfXU5W M0TB/OvU0g5uvudZVQMsJd0= =yq7Y -----END PGP SIGNATURE-----
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 15 Jul 2005 12:17:03 +0100
parents cc2e8f3d4412
children b4f0fad0ea64
comparison
equal deleted inserted replaced
709:cc2e8f3d4412 711:734712f37de3
533 if opts['output'] and opts['output'] != '-': 533 if opts['output'] and opts['output'] != '-':
534 try: 534 try:
535 outname = make_filename(repo, repo.changelog, opts['output'], 535 outname = make_filename(repo, repo.changelog, opts['output'],
536 node=node, total=total, seqno=seqno, 536 node=node, total=total, seqno=seqno,
537 revwidth=revwidth) 537 revwidth=revwidth)
538 ui.note("Exporting patch to '%s'.\n" % outname)
538 fp = open(outname, 'wb') 539 fp = open(outname, 'wb')
539 except KeyError, inst: 540 except KeyError, inst:
540 ui.warn("error: invalid format spec '%%%s' in output file name\n" % 541 ui.warn("error: invalid format spec '%%%s' in output file name\n" %
541 inst.args[0]) 542 inst.args[0])
542 sys.exit(1) 543 sys.exit(1)