From 0bf244c6cd61e3c57c307b9068e0d87413e23bd9 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 16 Nov 2010 14:14:56 -0500 Subject: [PATCH] Fix handling of Passthrough events. --- rcs-fast-import | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rcs-fast-import b/rcs-fast-import index 5258d39..2f0dd57 100755 --- a/rcs-fast-import +++ b/rcs-fast-import @@ -254,7 +254,7 @@ class Commit: class Passthrough: "Represents a passthrough line." def __init__(self, line): - self.text = text + self.text = line class FatalException: "Unrecoverable error." @@ -502,7 +502,7 @@ class Repository: baton.twirl() else: # Simply pass through any line we don't understand. - self.events.append(line) + self.events.append(Passthrough(line)) self.import_line = 0 self.readtime = time.time() # Resolve tags and branches -- 2.43.0