Commit ef94d82d authored by Eric S. Raymond's avatar Eric S. Raymond

Pepend rather than append sourcetype.

parent 9846c0d2
...@@ -2669,7 +2669,7 @@ def extract(self, repo, progress=True): ...@@ -2669,7 +2669,7 @@ def extract(self, repo, progress=True):
repo.makedir() repo.makedir()
with Baton(prompt=b"Extracting", enable=progress) as self.baton: with Baton(prompt=b"Extracting", enable=progress) as self.baton:
repo.addEvent(Passthrough("#reposurgeon sourcetype %s\n" \ repo.addEvent(Passthrough("#reposurgeon sourcetype %s\n" \
% self.extractor.vcstype.name)) % self.extractor.vcstype.name), where=0)
self.extractor.analyze(self.baton) self.extractor.analyze(self.baton)
self.extractor.pre_extract(repo) self.extractor.pre_extract(repo)
#saved_umask = os.umask(0) #saved_umask = os.umask(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment