equal
deleted
inserted
replaced
5951 # replace filemerge's .orig file with our resolve file, but only |
5951 # replace filemerge's .orig file with our resolve file, but only |
5952 # for merges that are complete |
5952 # for merges that are complete |
5953 if complete: |
5953 if complete: |
5954 try: |
5954 try: |
5955 util.rename(a + ".resolve", |
5955 util.rename(a + ".resolve", |
5956 cmdutil.origpath(ui, repo, a)) |
5956 scmutil.origpath(ui, repo, a)) |
5957 except OSError as inst: |
5957 except OSError as inst: |
5958 if inst.errno != errno.ENOENT: |
5958 if inst.errno != errno.ENOENT: |
5959 raise |
5959 raise |
5960 |
5960 |
5961 for f in tocomplete: |
5961 for f in tocomplete: |
5971 ms.commit() |
5971 ms.commit() |
5972 |
5972 |
5973 # replace filemerge's .orig file with our resolve file |
5973 # replace filemerge's .orig file with our resolve file |
5974 a = repo.wjoin(f) |
5974 a = repo.wjoin(f) |
5975 try: |
5975 try: |
5976 util.rename(a + ".resolve", cmdutil.origpath(ui, repo, a)) |
5976 util.rename(a + ".resolve", scmutil.origpath(ui, repo, a)) |
5977 except OSError as inst: |
5977 except OSError as inst: |
5978 if inst.errno != errno.ENOENT: |
5978 if inst.errno != errno.ENOENT: |
5979 raise |
5979 raise |
5980 |
5980 |
5981 ms.commit() |
5981 ms.commit() |