Browse Source

Dpkg::Source::Package: Add ‘.hgsigs’ to the default ignore lists

Closes: #627462

Based-on-patch-by: Jakub Wilk <jwilk@debian.org>
Guillem Jover 15 years ago
parent
commit
588077fdbc
2 changed files with 4 additions and 1 deletions
  1. 2 0
      debian/changelog
  2. 2 1
      scripts/Dpkg/Source/Package.pm

+ 2 - 0
debian/changelog

@@ -68,6 +68,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * Do not lose track of parent directories on removal so that they can
     be properly cleaned up on purge if not used by any other package.
     Based on a patch by Ondřej Surý <ondrej@debian.org>. Closes: #454694
+  * Add ‘.hgsigs’ to the default dpkg-source ignore lists.
+    Based on a patch by Jakub Wilk <jwilk@debian.org>. Closes: #627462
 
   [ Updated dpkg translations ]
   * German (Sven Joachim). Closes: #620312

+ 2 - 1
scripts/Dpkg/Source/Package.pm

@@ -50,7 +50,7 @@ our $diff_ignore_default_regexp = '
 (?:^|/)(?:DEADJOE|\.arch-inventory|\.(?:bzr|cvs|hg|git)ignore)$|
 # File or directory names that should be ignored
 (?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|
-\.hg(?:tags)?|_darcs|\.git(?:attributes|modules)?|
+\.hg(?:tags|sigs)?|_darcs|\.git(?:attributes|modules)?|
 \.shelf|_MTN|\.be|\.bzr(?:\.backup|tags)?)(?:$|/.*$)
 ';
 # Take out comments and newlines
@@ -81,6 +81,7 @@ our @tar_ignore_default_pattern = qw(
 .gitmodules
 .hg
 .hgignore
+.hgsigs
 .hgtags
 .shelf
 .svn