[Pkg-xen-changes] r858 - trunk/xen/debian/bin

Bastian Blank waldi at alioth.debian.org
Sun Mar 27 20:49:13 UTC 2011


Author: waldi
Date: Sun Mar 27 20:49:12 2011
New Revision: 858

Log:
debian/bin/genorig.py: Don't longer export changelog.

Modified:
   trunk/xen/debian/bin/genorig.py

Modified: trunk/xen/debian/bin/genorig.py
==============================================================================
--- trunk/xen/debian/bin/genorig.py	Sun Mar 27 20:30:11 2011	(r857)
+++ trunk/xen/debian/bin/genorig.py	Sun Mar 27 20:49:12 2011	(r858)
@@ -22,10 +22,6 @@
         args = ('hg', 'archive', '-r', self.tag, os.path.realpath(orig_dir))
         subprocess.check_call(args, cwd=self.repo)
 
-    def do_changelog(self, info, log):
-        args = ('hg', 'log', '-r', '%s:0' % self.tag)
-        subprocess.check_call(args, cwd=self.repo, stdout=log)
-
 
 class Main(object):
     log = sys.stdout.write
@@ -58,7 +54,6 @@
         self.temp_dir = tempfile.mkdtemp(prefix='genorig', dir='debian')
         try:
             self.do_archive()
-            self.do_changelog()
             self.do_tar()
         finally:
             shutil.rmtree(self.temp_dir)
@@ -67,12 +62,6 @@
         self.log("Create archive.\n")
         self.repo.do_archive(self)
 
-    def do_changelog(self):
-        self.log("Exporting changelog.\n")
-        log = open(os.path.join(self.temp_dir, self.orig_dir, 'Changelog'), 'w')
-        self.repo.do_changelog(self, log)
-        log.close()
-
     def do_tar(self):
         out = "../orig/%s" % self.orig_tar
         self.log("Generate tarball %s\n" % out)



More information about the Pkg-xen-changes mailing list