Mercurial > hg
diff mercurial/commands.py @ 495:e94cebc60d96
Pull from TAH
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pull from TAH
manifest hash: 08b55e07198b8a4272753895fe3727d9f52ebb75
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwO5YywK+sNU5EO8RArUtAJ9gsYYNbZH22COOz9B7ppwgCDxM8ACfYWcl
n9Dim3Z7qepGUXvRDEeFZ9c=
=JMQx
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Mon, 27 Jun 2005 22:29:44 -0800 |
parents | c5705ab9cebd 30752b14f759 |
children | 6ce95a04999d |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Jun 27 22:23:56 2005 -0800 +++ b/mercurial/commands.py Mon Jun 27 22:29:44 2005 -0800 @@ -123,7 +123,13 @@ ui.status("user: %s\n" % changes[1]) ui.status("date: %s\n" % time.asctime( time.localtime(float(changes[2].split(' ')[0])))) - ui.note("files: %s\n" % " ".join(changes[3])) + if ui.debugflag: + files = repo.diffrevs(changelog.parents(changenode)[0], changenode) + for key, value in zip(["files:", "files+:", "files-:"], files): + if value: + ui.note("%-12s %s\n" % (key, " ".join(value))) + else: + ui.note("files: %s\n" % " ".join(changes[3])) description = changes[4].strip() if description: if ui.verbose: