Attachment '218995.patch'

Download

   1 From a6d7eb03b8945a939e34eea15142c6cac55a8674 Mon Sep 17 00:00:00 2001
   2 From: Sam Lidder <sam.lidder@gmail.com>
   3 Date: Wed, 4 Apr 2012 21:19:23 -0400
   4 Subject: [PATCH] show version information in apt-cache {,r}depends output
   5 
   6 ---
   7  cmdline/apt-cache.cc |    2 +-
   8  1 file changed, 1 insertion(+), 1 deletion(-)
   9 
  10 diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
  11 index db54752..385bc87 100644
  12 --- a/cmdline/apt-cache.cc
  13 +++ b/cmdline/apt-cache.cc
  14 @@ -644,7 +644,7 @@ bool ShowDepends(CommandLine &CmdL, bool const RevDepends)
  15  		if (Trg->VersionList == 0)
  16  		  cout << "<" << Trg.FullName(true) << ">" << endl;
  17  		else
  18 -		  cout << Trg.FullName(true) << endl;
  19 +		  cout << Trg.FullName(true) << " (" << (int)D->CompareOp << " " << DeNull(D.TargetVer()) << ")" << endl;
  20  	    
  21  		if (Recurse == true && Shown[Trg->ID] == false)
  22  		{
  23 -- 
  24 1.7.9.5

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2012-04-05 23:26:13, 5.2 KB) [[attachment:155195.patch]]
  • [get | view] (2012-04-05 23:25:10, 0.8 KB) [[attachment:218995.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.