##// END OF EJS Templates
Use nullrev+count instead of count-1 in a newly introduced expression....
Thomas Arendsen Hein -
r3671:86d3f966 default
parent child Browse files
Show More
@@ -2195,7 +2195,7 def tip(ui, repo, **opts):
2195
2195
2196 Show the tip revision.
2196 Show the tip revision.
2197 """
2197 """
2198 cmdutil.show_changeset(ui, repo, opts).show(repo.changelog.count()-1)
2198 cmdutil.show_changeset(ui, repo, opts).show(nullrev+repo.changelog.count())
2199
2199
2200 def unbundle(ui, repo, fname, **opts):
2200 def unbundle(ui, repo, fname, **opts):
2201 """apply a changegroup file
2201 """apply a changegroup file
General Comments 0
You need to be logged in to leave comments. Login now