diff rhodecode/lib/vcs/backends/hg/changeset.py @ 2267:b872bc10f4ec beta

cleanup code of get archive for repositories
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 15 May 2012 19:29:02 +0200
parents 99536f257644
children bb0309b4e1ee
line wrap: on
line diff
--- a/rhodecode/lib/vcs/backends/hg/changeset.py	Mon May 14 22:25:49 2012 +0200
+++ b/rhodecode/lib/vcs/backends/hg/changeset.py	Tue May 15 19:29:02 2012 +0200
@@ -263,8 +263,6 @@
         archival.archive(self.repository._repo, stream, self.raw_id,
                          kind, prefix=prefix, subrepos=subrepos)
 
-        #stream.close()
-
         if stream.closed and hasattr(stream, 'name'):
             stream = open(stream.name, 'rb')
         elif hasattr(stream, 'mode') and 'r' not in stream.mode: