Show More
@@ -66,16 +66,7 b' class shelvedfile(object):' | |||
|
66 | 66 | except IOError, err: |
|
67 | 67 | if err.errno != errno.ENOENT: |
|
68 | 68 | raise |
|
69 | if mode[0] in 'wa': | |
|
70 | try: | |
|
71 | self.vfs.mkdir() | |
|
72 | return self.vfs(self.fname, mode) | |
|
73 | except IOError, err: | |
|
74 | if err.errno != errno.EEXIST: | |
|
75 | raise | |
|
76 | elif mode[0] == 'r': | |
|
77 | raise util.Abort(_("shelved change '%s' not found") % | |
|
78 | self.name) | |
|
69 | raise util.Abort(_("shelved change '%s' not found") % self.name) | |
|
79 | 70 | |
|
80 | 71 | class shelvedstate(object): |
|
81 | 72 | """Handle persistence during unshelving operations. |
General Comments 0
You need to be logged in to leave comments.
Login now