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