From e4e1eeeab8a89bafb5f0e7578451a98890893745 Mon Sep 17 00:00:00 2001 From: mhagger Date: Sun, 20 Sep 2015 22:03:09 +0000 Subject: [PATCH] Use ctx.tmpdir consistently in cvs2git-example.options. Patch by: Otmar Humbel git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5464 be7e6eca-30d4-0310-a8e5-ac0d63af7087 --- cvs2git-example.options | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cvs2git-example.options b/cvs2git-example.options index f93ec39d..a39ff986 100644 --- a/cvs2git-example.options +++ b/cvs2git-example.options @@ -163,7 +163,7 @@ ctx.revision_collector = GitRevisionCollector( # contains the file revision contents. If None, it will be # written to a temporary file then streamed to stdout in # OutputPass: - blob_filename='cvs2git-tmp/git-blob.dat', + blob_filename=os.path.join(ctx.tmpdir, 'git-blob.dat'), ) # This second alternative is vastly faster than the version above. It # uses an external Python program to reconstruct the contents of CVS @@ -171,7 +171,7 @@ ctx.revision_collector = GitRevisionCollector( # is None, the blobs will be written to a temporary file then streamed # to stdout in OutputPass: #ctx.revision_collector = ExternalBlobGenerator( -# blob_filename='cvs2git-tmp/git-blob.dat', +# blob_filename=os.path.join(ctx.tmpdir, 'git-blob.dat'), # ) # cvs2git doesn't need a revision reader because OutputPass only -- 2.11.4.GIT