comparison hg_delta_editor.py @ 314:2257bfc01749

hg_delta_editor: missing plaintext paths are svn paths not branch paths
author Patrick Mezard <pmezard@gmail.com>
date Sun, 03 May 2009 21:42:43 -0500
parents 942f198b8ff5
children c3c647aff97c
comparison
equal deleted inserted replaced
313:942f198b8ff5 314:2257bfc01749
842 base = fctx.data() 842 base = fctx.data()
843 if 'l' in fctx.flags(): 843 if 'l' in fctx.flags():
844 base = 'link ' + base 844 base = 'link ' + base
845 self.set_file(svnpath, base, 'x' in fctx.flags(), 'l' in fctx.flags()) 845 self.set_file(svnpath, base, 'x' in fctx.flags(), 'l' in fctx.flags())
846 else: 846 else:
847 self.missing_plaintexts.add(path) 847 self.missing_plaintexts.add(svnpath)
848 848
849 def delete_entry(self, path, revision_bogus, parent_baton, pool=None): 849 def delete_entry(self, path, revision_bogus, parent_baton, pool=None):
850 br_path, branch = self._path_and_branch_for_path(path) 850 br_path, branch = self._path_and_branch_for_path(path)
851 if br_path == '': 851 if br_path == '':
852 self.branches_to_delete.add(branch) 852 self.branches_to_delete.add(branch)