##// END OF EJS Templates
localrepo: recognize trivial request for '.'...
marmoute -
r44565:bfaf4c67 default
parent child Browse files
Show More
@@ -1708,6 +1708,10 b' class localrepository(object):'
1708 '''
1708 '''
1709 if specs == [b'null']:
1709 if specs == [b'null']:
1710 return revset.baseset([nullrev])
1710 return revset.baseset([nullrev])
1711 if specs == [b'.']:
1712 quick_data = self._quick_access_changeid.get(b'.')
1713 if quick_data is not None:
1714 return revset.baseset([quick_data[0]])
1711 if user:
1715 if user:
1712 m = revset.matchany(
1716 m = revset.matchany(
1713 self.ui,
1717 self.ui,
@@ -70,7 +70,6 b' Getting status of working copy'
70 Getting data about the working copy parent
70 Getting data about the working copy parent
71
71
72 $ hg log -r '.' -T "{node}\n{date}\n"
72 $ hg log -r '.' -T "{node}\n{date}\n"
73 debug.filters: computing revision filter for "visible"
74 c2932ca7786be30b67154d541a8764fae5532261
73 c2932ca7786be30b67154d541a8764fae5532261
75 0.00
74 0.00
76
75
@@ -111,8 +110,8 b' Getting working copy diff'
111 exporting the current changeset
110 exporting the current changeset
112
111
113 $ hg export
112 $ hg export
113 exporting patch:
114 debug.filters: computing revision filter for "visible"
114 debug.filters: computing revision filter for "visible"
115 exporting patch:
116 # HG changeset patch
115 # HG changeset patch
117 # User test
116 # User test
118 # Date 0 0
117 # Date 0 0
General Comments 0
You need to be logged in to leave comments. Login now