##// END OF EJS Templates
localrepo: also fast past the parents of working copies parents...
marmoute -
r44566:5a012404 default
parent child Browse files
Show More
@@ -1543,6 +1543,14 b' class localrepository(object):'
1543 pair = (rev, node)
1543 pair = (rev, node)
1544 quick[rev] = pair
1544 quick[rev] = pair
1545 quick[node] = pair
1545 quick[node] = pair
1546 # also add the parents of the parents
1547 for r in cl.parentrevs(rev):
1548 if r == nullrev:
1549 continue
1550 n = cl.node(r)
1551 pair = (r, n)
1552 quick[r] = pair
1553 quick[n] = pair
1546 p1node = self.dirstate.p1()
1554 p1node = self.dirstate.p1()
1547 if p1node != nullid:
1555 if p1node != nullid:
1548 quick[b'.'] = quick[p1node]
1556 quick[b'.'] = quick[p1node]
@@ -93,7 +93,6 b' Getting working copy diff'
93 @@ -0,0 +1,1 @@
93 @@ -0,0 +1,1 @@
94 +d
94 +d
95 $ hg diff --change .
95 $ hg diff --change .
96 debug.filters: computing revision filter for "visible"
97 diff -r 05293e5dd8d1ae4f84a8520a11c6f97cad26deca -r c2932ca7786be30b67154d541a8764fae5532261 c
96 diff -r 05293e5dd8d1ae4f84a8520a11c6f97cad26deca -r c2932ca7786be30b67154d541a8764fae5532261 c
98 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
97 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
99 +++ b/c Thu Jan 01 00:00:00 1970 +0000
98 +++ b/c Thu Jan 01 00:00:00 1970 +0000
@@ -111,7 +110,6 b' exporting the current changeset'
111
110
112 $ hg export
111 $ hg export
113 exporting patch:
112 exporting patch:
114 debug.filters: computing revision filter for "visible"
115 # HG changeset patch
113 # HG changeset patch
116 # User test
114 # User test
117 # Date 0 0
115 # Date 0 0
General Comments 0
You need to be logged in to leave comments. Login now