Procházet zdrojové kódy

* cmdline/apt-get.cc:
- fix "apt-get source pkg=ver" if binary name != source name
(LP: #202219)
* doc/makefile:
- add examples/apt-https-method-example.conf

Michael Vogt před 17 roky
rodič
revize
9772f307fd
2 změnil soubory, kde provedl 8 přidání a 3 odebrání
  1. 3 3
      cmdline/apt-get.cc
  2. 5 0
      debian/changelog

+ 3 - 3
cmdline/apt-get.cc

@@ -1295,9 +1295,9 @@ pkgSrcRecords::Parser *FindSrc(const char *Name,pkgRecords &Recs,
    {
    {
       string Ver = Parse->Version();
       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)
       if (VerTag.empty() == false)
       {
       {

+ 5 - 0
debian/changelog

@@ -3,6 +3,9 @@ apt (0.7.19ubuntu2) jaunty; urgency=low
   [ Michael Vogt ]
   [ Michael Vogt ]
   * apt-pkg/deb/dpkgpm.cc:
   * apt-pkg/deb/dpkgpm.cc:
     - filter "ENOMEM" errors when creating apport reports 
     - filter "ENOMEM" errors when creating apport reports 
+  * cmdline/apt-get.cc:
+    - fix "apt-get source pkg=ver" if binary name != source name
+      (LP: #202219)
 
 
   [ Ian Weisser ]
   [ Ian Weisser ]
   * /apt-pkg/deb/debsystem.cc:
   * /apt-pkg/deb/debsystem.cc:
@@ -35,6 +38,8 @@ apt (0.7.19) unstable; urgency=low
 
 
 
 
   [ Michael Vogt ]
   [ Michael Vogt ]
+  * doc/makefile:
+    - add examples/apt-https-method-example.conf
     - fix SIGHUP handling (closes: #463030)
     - fix SIGHUP handling (closes: #463030)
 
 
   [ Christian Perrier ]
   [ Christian Perrier ]