Show More
@@ -2327,7 +2327,12 b' class memfilectx(committablefilectx):' | |||||
2327 | revision being committed, or None.""" |
|
2327 | revision being committed, or None.""" | |
2328 | super(memfilectx, self).__init__(repo, path, None, changectx) |
|
2328 | super(memfilectx, self).__init__(repo, path, None, changectx) | |
2329 | self._data = data |
|
2329 | self._data = data | |
2330 | self._flags = (islink and 'l' or '') + (isexec and 'x' or '') |
|
2330 | if islink: | |
|
2331 | self._flags = 'l' | |||
|
2332 | elif isexec: | |||
|
2333 | self._flags = 'x' | |||
|
2334 | else: | |||
|
2335 | self._flags = '' | |||
2331 | self._copied = None |
|
2336 | self._copied = None | |
2332 | if copied: |
|
2337 | if copied: | |
2333 | self._copied = (copied, nullid) |
|
2338 | self._copied = (copied, nullid) |
General Comments 0
You need to be logged in to leave comments.
Login now