The following commit has been merged in the master branch:
commit 14340213c8df6215708f6b1dd01d7dea4e58fd14
Author: Guillem Jover <guil...@debian.org>
Date:   Wed Apr 27 07:50:59 2011 +0200

    dpkg: Remove --new and --old dpkg-deb option handling
    
    These have been non-functional for a long time, and were being treated
    as dpkg commands which would conflict with the dpkg-deb commands.

diff --git a/debian/changelog b/debian/changelog
index 57ff227..df6eceb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
     Based on a patch by Christopher Baines <cbain...@gmail.com>.
   * Document in dpkg-deb(1) that --fsys-tarfile will always process the
     input archive sequentially. Closes: #616609
+  * Remove long non-functional --new and --old dpkg-deb option handling
+    from dpkg which were being treated as dpkg commands.
 
   [ Updated man page translations ]
   * German (Helge Kreutzmann).
diff --git a/man/dpkg.1 b/man/dpkg.1
index ce5e8a4..f0af1eb 100644
--- a/man/dpkg.1
+++ b/man/dpkg.1
@@ -482,10 +482,6 @@ Install a package even if it fails authenticity check.
 Ignore dependency-checking for specified packages (actually, checking is
 performed, but only warnings about conflicts are given, nothing else).
 .TP
-\fB\-\-new\fP, \fB\-\-old\fP
-Select new or old binary package format. This is a \fBdpkg\-deb\fP(1)
-option.
-.TP
 .B \-\-nocheck
 Don't read or check contents of control file while building a package.
 This is a \fBdpkg\-deb\fP(1) option.
diff --git a/src/main.c b/src/main.c
index fef8e40..000e589 100644
--- a/src/main.c
+++ b/src/main.c
@@ -601,8 +601,6 @@ static const struct cmdinfo cmdinfos[]= {
   ACTIONBACKEND( "info",               'I', BACKEND),
   ACTIONBACKEND( "field",              'f', BACKEND),
   ACTIONBACKEND( "extract",            'x', BACKEND),
-  ACTIONBACKEND( "new",                        0,  BACKEND),
-  ACTIONBACKEND( "old",                        0,  BACKEND),
   ACTIONBACKEND( "vextract",           'X', BACKEND),
   ACTIONBACKEND( "fsys-tarfile",       0,   BACKEND),
   { NULL,                0,   0, NULL,          NULL,      NULL,          0 }

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to