##// END OF EJS Templates
Add tip command
mpm@selenic.com -
r89:4cd9145d default
parent child Browse files
Show More
@@ -290,6 +290,11 b' elif cmd == "history":'
290 print "description:"
290 print "description:"
291 print changes[4]
291 print changes[4]
292
292
293 elif cmd == "tip":
294 n = repo.changelog.tip()
295 t = repo.changelog.rev(n)
296 ui.status("%d:%s\n" % (t, hg.hex(n)))
297
293 elif cmd == "log":
298 elif cmd == "log":
294 if args:
299 if args:
295 r = repo.file(args[0])
300 r = repo.file(args[0])
General Comments 0
You need to be logged in to leave comments. Login now