equal
deleted
inserted
replaced
34 history show changeset history |
34 history show changeset history |
35 log <file> show revision history of a single file |
35 log <file> show revision history of a single file |
36 dump <file> [rev] dump the latest or given revision of a file |
36 dump <file> [rev] dump the latest or given revision of a file |
37 dumpmanifest [rev] dump the latest or given revision of the manifest |
37 dumpmanifest [rev] dump the latest or given revision of the manifest |
38 """ |
38 """ |
39 |
|
40 |
39 |
41 options = {} |
40 options = {} |
42 opts = [('v', 'verbose', None, 'verbose'), |
41 opts = [('v', 'verbose', None, 'verbose'), |
43 ('d', 'debug', None, 'debug')] |
42 ('d', 'debug', None, 'debug')] |
44 |
43 |
153 print "parents: %4d:%s" % (i1, h1) |
152 print "parents: %4d:%s" % (i1, h1) |
154 if i2: print " %4d:%s" % (i2, h2) |
153 if i2: print " %4d:%s" % (i2, h2) |
155 print "manifest: %4d:%s" % (repo.manifest.rev(changes[0]), |
154 print "manifest: %4d:%s" % (repo.manifest.rev(changes[0]), |
156 hg.hex(changes[0])) |
155 hg.hex(changes[0])) |
157 print "user:", changes[1] |
156 print "user:", changes[1] |
|
157 print "date:", time.asctime( |
|
158 time.localtime(float(changes[2].split(' ')[0]))) |
158 print "files:", " ".join(changes[3]) |
159 print "files:", " ".join(changes[3]) |
159 print "description:" |
160 print "description:" |
160 print changes[4] |
161 print changes[4] |
161 |
162 |
162 elif cmd == "log": |
163 elif cmd == "log": |