Show More
@@ -89,6 +89,7 b' class localrepository(repo.repository):' | |||
|
89 | 89 | self.sopener = self.store.opener |
|
90 | 90 | self.sjoin = self.store.join |
|
91 | 91 | self.opener.createmode = self.store.createmode |
|
92 | self.sopener.options = {} | |
|
92 | 93 | |
|
93 | 94 | # These two define the set of tags for this repository. _tags |
|
94 | 95 | # maps tag name to node; _tagtypes maps tag name to 'global' or |
@@ -112,7 +113,7 b' class localrepository(repo.repository):' | |||
|
112 | 113 | p = os.environ['HG_PENDING'] |
|
113 | 114 | if p.startswith(self.root): |
|
114 | 115 | c.readpending('00changelog.i.a') |
|
115 | self.sopener.defversion = c.version | |
|
116 | self.sopener.options['defversion'] = c.version | |
|
116 | 117 | return c |
|
117 | 118 | |
|
118 | 119 | @propertycache |
@@ -431,8 +431,8 b' class revlog(object):' | |||
|
431 | 431 | self.index = [] |
|
432 | 432 | |
|
433 | 433 | v = REVLOG_DEFAULT_VERSION |
|
434 |
if hasattr(opener, |
|
|
435 | v = opener.defversion | |
|
434 | if hasattr(opener, 'options') and 'defversion' in opener.options: | |
|
435 | v = opener.options['defversion'] | |
|
436 | 436 | if v & REVLOGNG: |
|
437 | 437 | v |= REVLOGNGINLINEDATA |
|
438 | 438 |
General Comments 0
You need to be logged in to leave comments.
Login now