- if the changelog downlaod failed, do not show the generic error
but point to launchpad instead
return true;
// error
- return _error->Error("changelog download failed");
+ pkgRecords Recs(CacheFile);
+ pkgRecords::Parser &rec=Recs.Lookup(Ver.FileList());
+ string srcpkg = rec.SourcePkg().empty() ? Pkg.Name() : rec.SourcePkg();
+ return _error->Error("changelog for this version is not (yet) available; try https://launchpad.net/ubuntu/+source/%s/+changelog", srcpkg.c_str());
}
/*}}}*/
// DisplayFileInPager - Display File with pager /*{{{*/
* merged lp:~mvo/apt/mvo, this brings two new commands:
- apt-get download binary-pkgname to download a deb
- apt-get changelog binary-pkgname to display the changelog
+ * cmdline/apt-get.cc:
+ - if the changelog downlaod failed, do not show the generic error
+ but point to launchpad instead
-- Michael Vogt <michael.vogt@ubuntu.com> Thu, 18 Nov 2010 09:58:08 +0100