Quellcode durchsuchen

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

Closes: #627462

Based-on-patch-by: Jakub Wilk <jwilk@debian.org>
Guillem Jover vor 15 Jahren
Ursprung
Commit
588077fdbc
2 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  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
   * 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.
     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
     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 ]
   [ Updated dpkg translations ]
   * German (Sven Joachim). Closes: #620312
   * 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)$|
 (?:^|/)(?:DEADJOE|\.arch-inventory|\.(?:bzr|cvs|hg|git)ignore)$|
 # File or directory names that should be ignored
 # File or directory names that should be ignored
 (?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|
 (?:^|/)(?: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)?)(?:$|/.*$)
 \.shelf|_MTN|\.be|\.bzr(?:\.backup|tags)?)(?:$|/.*$)
 ';
 ';
 # Take out comments and newlines
 # Take out comments and newlines
@@ -81,6 +81,7 @@ our @tar_ignore_default_pattern = qw(
 .gitmodules
 .gitmodules
 .hg
 .hg
 .hgignore
 .hgignore
+.hgsigs
 .hgtags
 .hgtags
 .shelf
 .shelf
 .svn
 .svn