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