Show More
@@ -63,7 +63,7 b" testedwith = 'ships-with-hg-core'" | |||||
63 |
|
63 | |||
64 | backupdir = 'shelve-backup' |
|
64 | backupdir = 'shelve-backup' | |
65 | shelvedir = 'shelved' |
|
65 | shelvedir = 'shelved' | |
66 | shelvefileextensions = ['hg', 'patch'] |
|
66 | shelvefileextensions = ['hg', 'patch', 'oshelve'] | |
67 | # universal extension is present in all types of shelves |
|
67 | # universal extension is present in all types of shelves | |
68 | patchextension = 'patch' |
|
68 | patchextension = 'patch' | |
69 |
|
69 | |||
@@ -154,6 +154,12 b' class shelvedfile(object):' | |||||
154 | bundle2.writebundle(self.ui, cg, self.fname, btype, self.vfs, |
|
154 | bundle2.writebundle(self.ui, cg, self.fname, btype, self.vfs, | |
155 | compression=compression) |
|
155 | compression=compression) | |
156 |
|
156 | |||
|
157 | def writeobsshelveinfo(self, info): | |||
|
158 | scmutil.simplekeyvaluefile(self.vfs, self.fname).write(info) | |||
|
159 | ||||
|
160 | def readobsshelveinfo(self): | |||
|
161 | return scmutil.simplekeyvaluefile(self.vfs, self.fname).read() | |||
|
162 | ||||
157 | class shelvedstate(object): |
|
163 | class shelvedstate(object): | |
158 | """Handle persistence during unshelving operations. |
|
164 | """Handle persistence during unshelving operations. | |
159 |
|
165 |
General Comments 0
You need to be logged in to leave comments.
Login now