##// END OF EJS Templates
Make show_changeset show added and deleted files in verbose mode....
Thomas Arendsen Hein -
r490:df9b77f6 default
parent child Browse files
Show More
@@ -25,7 +25,6 b' Commands:'
25 25 - automatic pull fallback to old-http://
26 26 - hg init|pull http://example.com doesn't say that no repo was found
27 27 - hg annotate -u and hgweb annotate with long $EMAIL
28 - hg -v history doesn't show tkmerge as modified (removed).
29 28 - hg pull default in a subdir doesn't work, if it is a relative path
30 29 - optionally only show merges (two parents or parent != changeset-1, etc.)
31 30
@@ -123,7 +123,11 b' def show_changeset(ui, repo, rev=0, chan'
123 123 ui.status("user: %s\n" % changes[1])
124 124 ui.status("date: %s\n" % time.asctime(
125 125 time.localtime(float(changes[2].split(' ')[0]))))
126 ui.note("files: %s\n" % " ".join(changes[3]))
126 if ui.verbose:
127 files = repo.diffrevs(changelog.parents(changenode)[0], changenode)
128 for key, value in zip(["files:", "files+:", "files-:"], files):
129 if value:
130 ui.note("%-12s %s\n" % (key, " ".join(value)))
127 131 description = changes[4].strip()
128 132 if description:
129 133 if ui.verbose:
@@ -24,7 +24,7 b' parent: -1:000000000000000000000000'
24 24 manifest: 2:f5d7a10be55c91e08fbd4f527ab313aff2761fc6
25 25 user: user
26 26 date: Thu Jan 1 00:00:00 1970
27 files: c
27 files+: c
28 28 description:
29 29 2
30 30
@@ -41,7 +41,7 b' parent: -1:000000000000000000000000'
41 41 manifest: 3:1102cb6dde652ec2ba8cc2777e464853afa67cef
42 42 user: user
43 43 date: Thu Jan 1 00:00:00 1970
44 files: b
44 files-: b
45 45 description:
46 46 3
47 47
@@ -91,7 +91,6 b' parent: 5:f8292b00383d88b470efcb2ea'
91 91 manifest: 6:71c4262e09a89666ee12a92fefa12085aad53243
92 92 user: user
93 93 date: Thu Jan 1 00:00:00 1970
94 files:
95 94 description:
96 95 6
97 96
@@ -107,7 +106,6 b' parent: -1:000000000000000000000000'
107 106 manifest: 7:c15305fbac9dd3f49bffcc17d659b2d06d10b9a2
108 107 user: user
109 108 date: Thu Jan 1 00:00:00 1970
110 files:
111 109 description:
112 110 7
113 111
@@ -50,7 +50,8 b' tag: tip'
50 50 manifest: 1:1165e8bd193e17ad7d321d846fcf27ff3f412758
51 51 user: test
52 52 date: Thu Jan 1 00:00:00 1970
53 files: a b
53 files: a
54 files+: b
54 55 description:
55 56 2
56 57
@@ -58,7 +59,7 b' changeset: 0:c19d34741b0a4ced8e4ba74bb'
58 59 manifest: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0
59 60 user: test
60 61 date: Thu Jan 1 00:00:00 1970
61 files: a
62 files+: a
62 63 description:
63 64 1
64 65
General Comments 0
You need to be logged in to leave comments. Login now