Make show_changeset show added/deleted files only in debug mode.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Make show_changeset show added/deleted files only in debug mode.
This was necessary due to performance reasons.
manifest hash:
35af5e8ff88a8706406fc8c42251ada79c7c9549
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCwOUkW7P1GVgWeRoRAvB5AKCJ9x/P3XOJVlQnCoh8cblnye+9RgCgkXLW
7Bt8/5yhPnsejYIGUMnppgo=
=DNsf
-----END PGP SIGNATURE-----
--- a/TODO Mon Jun 27 06:52:13 2005 +0100
+++ b/TODO Tue Jun 28 06:50:28 2005 +0100
@@ -16,6 +16,7 @@
- better push support (hack exists)
- hg over ssh:// and https://
- commit mailinglist/trigger/hooks
+- make showing removed files (in history etc.) faster.
Commands:
- hg status <filename>: file rev, changeset rev, changed, added,
--- a/mercurial/commands.py Mon Jun 27 06:52:13 2005 +0100
+++ b/mercurial/commands.py Tue Jun 28 06:50:28 2005 +0100
@@ -123,11 +123,13 @@
ui.status("user: %s\n" % changes[1])
ui.status("date: %s\n" % time.asctime(
time.localtime(float(changes[2].split(' ')[0]))))
- if ui.verbose:
+ 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: