- fix "apt-get source pkg=ver" if binary name != source name
authorMichael Vogt <michael.vogt@ubuntu.com>
Mon, 8 Dec 2008 17:33:43 +0000 (09:33 -0800)
committerMichael Vogt <michael.vogt@ubuntu.com>
Mon, 8 Dec 2008 17:33:43 +0000 (09:33 -0800)
    (LP: #202219)
* doc/makefile:
  - add examples/apt-https-method-example.conf

cmdline/apt-get.cc
debian/changelog

index eda37a3..40ae024 100644 (file)
@@ -1295,9 +1295,9 @@ pkgSrcRecords::Parser *FindSrc(const char *Name,pkgRecords &Recs,
    {
       string Ver = Parse->Version();
       
-      // Skip name mismatches
-      if (IsMatch == true && Parse->Package() != Src)
-        continue;
+      // show name mismatches
+      if (IsMatch == true && Parse->Package() != Src) 
+        ioprintf(c1out,  _("No source package '%s' picking '%s' instead"), Parse->Package(), Src);
       
       if (VerTag.empty() == false)
       {
index 0f20db8..1ab8e09 100644 (file)
@@ -26,6 +26,10 @@ apt (0.7.17) UNRELEASED; urgency=low
   * cmdline/apt-cache.cc:
     - remove the gettext from a string that consists entirely 
       of variables (LP: #56792)
+    - fix "apt-get source pkg=ver" if binary name != source name
+      (LP: #202219)
+  * doc/makefile:
+    - add examples/apt-https-method-example.conf
   * apt-pkg/cacheiterators.h:
     - add missing checks for Owner == 0 in end()
   * apt-pkg/deb/dpkgpm.cc: