Bläddra i källkod

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

Closes: #485365
Guillem Jover 18 år sedan
förälder
incheckning
f9d4d3f62c
3 ändrade filer med 10 tillägg och 1 borttagningar
  1. 6 0
      ChangeLog
  2. 2 0
      debian/changelog
  3. 2 1
      scripts/Dpkg/Source/Package.pm

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+2008-06-09  Guillem Jover  <guillem@debian.org>
+
+	* scripts/Dpkg/Source/Package.pm ($diff_ignore_default_regexp): Add
+	'.hgignore'.
+	(@tar_ignore_default_pattern): Likewise.
+
 2008-06-09  Guillem Jover  <guillem@debian.org>
 
 	* src/query.c (searchfiles): Use VARBUF_INIT to initialize path

+ 2 - 0
debian/changelog

@@ -17,6 +17,8 @@ dpkg (1.15.0) UNRELEASED; urgency=low
   * Replace realloc plus error checking usage with m_realloc.
   * Close --status-fd file descriptors on exec, so that they are not
     inherited by the childs. Closes: #471488
+  * Add '.hgignore' to the default dpkg-source -i regex and -I pattern.
+    Closes: #485365
 
   [ Raphael Hertzog ]
   * Enhance dpkg-shlibdeps's error message when a library can't be found to

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

@@ -44,7 +44,7 @@ our $diff_ignore_default_regexp = '
 # Ignore baz-style junk files or directories
 (?:^|/),,.*(?:$|/.*$)|
 # File-names that should be ignored (never directories)
-(?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore|\.gitignore)$|
+(?:^|/)(?: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|
 \.shelf|_MTN|\.be|\.bzr(?:\.backup|tags)?)(?:$|/.*$)
@@ -74,6 +74,7 @@ our @tar_ignore_default_pattern = qw(
 .git
 .gitignore
 .hg
+.hgignore
 .shelf
 .svn
 CVS