equal
deleted
inserted
replaced
2443 else: |
2443 else: |
2444 # Returning None, but including the path in `files`, is |
2444 # Returning None, but including the path in `files`, is |
2445 # necessary for memctx to register a deletion. |
2445 # necessary for memctx to register a deletion. |
2446 return None |
2446 return None |
2447 |
2447 |
|
2448 if branch is None: |
|
2449 branch = self._wrappedctx.branch() |
|
2450 |
2448 return memctx( |
2451 return memctx( |
2449 self._repo, |
2452 self._repo, |
2450 parents, |
2453 parents, |
2451 text, |
2454 text, |
2452 files, |
2455 files, |