Browse Source

Add '.hg' to the default dpkg-source -i regex. Closes: #414794

Guillem Jover 19 years ago
parent
commit
993801879b
3 changed files with 6 additions and 1 deletions
  1. 4 0
      ChangeLog
  2. 1 0
      debian/changelog
  3. 1 1
      scripts/dpkg-source.pl

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+2007-03-20  Guillem Jover  <guillem@debian.org>
+
+	* scripts/dpkg-source.pl ($diff_ignore_default_regexp): Add '.hg'.
+
 2007-03-13  Guillem Jover  <guillem@debian.org>
 
 	* scripts/controllib.pl (parsechangelog): Only binmode CDATA from the

+ 1 - 0
debian/changelog

@@ -24,6 +24,7 @@ dpkg (1.14.0) UNRELEASED; urgency=low
     Thanks to Frank Lichtenheld.
   * Add '.gitignore' to the default dpkg-source -i regex. Closes: #409566
     Thanks to Julien Cristau.
+  * Add '.hg' to the default dpkg-source -i regex. Closes: #414794
   * Use l10n-friendlier strings to describe dependencies. Closes: #390916
     Thanks to Ian Jackson.
   * Change priority for dpkg-dev from standard to optional to match the

+ 1 - 1
scripts/dpkg-source.pl

@@ -20,7 +20,7 @@ $diff_ignore_default_regexp = '
 # File-names that should be ignored (never directories)
 (?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore|\.gitignore)$|
 # File or directory names that should be ignored
-(?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|_darcs|\.git|\.bzr(?:\.backup|tags)?)(?:$|/.*$)
+(?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|\.hg|_darcs|\.git|\.bzr(?:\.backup|tags)?)(?:$|/.*$)
 ';
 
 # Take out comments and newlines