[cmdline/apt-get.cc] correct the order of picked package binary vs source
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 9 Aug 2009 11:43:21 +0000 (13:43 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 9 Aug 2009 11:43:21 +0000 (13:43 +0200)
in the source command in the msg "No source package x picking y instead"

cmdline/apt-get.cc
debian/changelog

index 384953a..34ffaf1 100644 (file)
@@ -1309,7 +1309,7 @@ pkgSrcRecords::Parser *FindSrc(const char *Name,pkgRecords &Recs,
 
       // show name mismatches
       if (IsMatch == true && Parse->Package() != Src)       
-        ioprintf(c1out,  _("No source package '%s' picking '%s' instead\n"), Parse->Package().c_str(), Src.c_str());
+        ioprintf(c1out,  _("No source package '%s' picking '%s' instead\n"), Src.c_str(), Parse->Package().c_str());
       
       if (VerTag.empty() == false)
       {
index 7f8764c..fa2a3f6 100644 (file)
@@ -6,6 +6,7 @@ apt (0.7.22.3) unstable; urgency=low
       instead of the full package list. (Closes: #537450)
     - ShowBroken() in build-dep (by Mike O'Connor, Closes: #145916)
     - check for statfs.f_type (by Robert Millan, Closes: #509313)
+    - correct the order of picked package binary vs source in source
   * apt-pkg/contrib/strutl.cc:
     - enable thousand separator according to the current locale
       (by Luca Bruno, Closes: #223712)