[Pkg-bazaar-commits] r121 ./bzr-builddeb/trunk: * Allow the changelog entries to have no author information.

James Westby jw+debian at jameswestby.net
Sun Jul 8 19:23:05 UTC 2007


------------------------------------------------------------
revno: 121
committer: James Westby <jw+debian at jameswestby.net>
branch nick: trunk
timestamp: Sun 2007-07-08 20:23:05 +0100
message:
  * Allow the changelog entries to have no author information.
modified:
  debian/changelog
  util.py
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2007-06-25 07:24:31 +0000
+++ b/debian/changelog	2007-07-08 19:23:05 +0000
@@ -2,6 +2,7 @@
 
   * Remove any 'debian/' directory from the upstream tarball in merge mode,
     so that the branch contains all of the files that will appear there.
+  * Allow the changelog entries to have no author information.
 
  -- James Westby <jw+debian at jameswestby.net>  Mon, 25 Jun 2007 08:23:34 +0100
 

=== modified file 'util.py'
--- a/util.py	2007-06-18 21:57:14 +0000
+++ b/util.py	2007-07-08 19:23:05 +0000
@@ -91,7 +91,7 @@
       contents = t.get_file_text(changelog_id)
     finally:
       t.unlock()
-    changelog = Changelog(contents, max_blocks=1)
+    changelog = Changelog()
+    changelog.parse_changelog(contents, max_blocks=1, allow_empty_author=True)
     return changelog, larstiq
 
-



More information about the Pkg-bazaar-commits mailing list