Pārlūkot izejas kodu

Add '.hgtags' to the default dpkg-source -i regex and -I pattern

Closes: #525854
Guillem Jover 17 gadi atpakaļ
vecāks
revīzija
da0538290b
2 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 2 0
      debian/changelog
  2. 2 1
      scripts/Dpkg/Source/Package.pm

+ 2 - 0
debian/changelog

@@ -74,6 +74,8 @@ dpkg (1.15.1) UNRELEASED; urgency=low
   * Detect the curses headers to use instead of hardcoding them.
   * Make dpkg-source do not set arch:any in .dsc on arch-restricted packages.
     Thanks to Philipp Kern <pkern@debian.org>. Closes: #526617
+  * Add '.hgtags' to the default dpkg-source -i regex and -I pattern.
+    Closes: #525854
 
   [ Frank Lichtenheld ]
   * Dpkg::Version: Remove unnecessary function next_elem which just

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

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