elif isinstance(event, Reset) and event.committish is not None:
for commit in self.commits():
if commit.mark == event.committish:
- # FIXME: Not yet used for anything
- commit.resetlist.append(tag)
+ commit.resetlist.append(event)
break
else:
raise FatalException("reset points at nonexistent %s"
loud_remove(path)
if commit.is_tip():
self.maketag(commit.branch, str(rev.branch()), path)
+ for reset in commit.resetlist:
+ self.maketag(reset.ref, str(rev), path)
def modify(self, event, path, mode, copyfile):
"Perform file checkins and modifications,"
sanecheck(event, path, mode, copyfile)