##// END OF EJS Templates
test-revlog: update the patch used to test delta againts nullrev...
marmoute -
r50132:996a70c7 default
parent child Browse files
Show More
@@ -1,9 +1,22 b''
1 #!/bin/bash
1 #!/bin/bash
2 #
2 #
3 # Make sure to patch mercurial to create the delta against nullrev
3 # Make sure to patch mercurial to create the delta against nullrev
4 #
5 # # Parent cdb85d0512b81031d4a7b30d6a5ddbe69ef1a876
6 #
7 # diff --git a/mercurial/revlogutils/deltas.py b/mercurial/revlogutils/deltas.py
8 # --- a/mercurial/revlogutils/deltas.py
9 # +++ b/mercurial/revlogutils/deltas.py
10 # @@ -1117,7 +1117,10 @@ class deltacomputer:
11 # candidaterevs = next(groups)
12 #
4 # if deltainfo is None:
13 # if deltainfo is None:
5 #- deltainfo = self._fullsnapshotinfo(fh, revinfo, target_rev)
14 # - deltainfo = self._fullsnapshotinfo(fh, revinfo, target_rev)
6 #+ deltainfo = self._builddeltainfo(revinfo, nullrev, fh)
15 # + if revlog._generaldelta:
16 # + deltainfo = self._builddeltainfo(revinfo, nullrev, fh)
17 # + else:
18 # + deltainfo = self._fullsnapshotinfo(fh, revinfo, target_rev)
19
7
20
8 cd "`dirname \"$0\"`"
21 cd "`dirname \"$0\"`"
9 export HGRCPATH=
22 export HGRCPATH=
General Comments 0
You need to be logged in to leave comments. Login now