[Python-apps-team] Bug#520822: mercurial: ``hg strip --help'' offers a "-f" option, but option does not exist

Heiko Schlittermann hs at schlittermann.de
Sun Mar 22 09:33:51 UTC 2009


Package: mercurial
Version: 1.0.1-5.1
Severity: minor

As stated in the subject.

|   hg strip [-f] [-b] [-n] REV
|
|   strip a revision and all later revs on the same branch
|
|   options:
|
|    -b --backup    bundle unrelated changesets
|    -n --nobackup  no backups
|
|   use "hg -v help strip" to show global options

But if I try to use ``hg strip -f 497'', it shows the help page again
(probably indicating a usage error).

Or - "-f" is poorly documented and should be used in some other way than
I did (I supposed it to be something like "force").

In hgext/mq.py:2378 I found the code for showing the "-f".

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mercurial depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  mercurial-common              1.0.1-5.1  Scalable distributed version contr
ii  python                        2.5.2-3    An interactive high-level object-o
ii  python-support                0.8.4      automated rebuilding support for P
ii  ucf                           3.0016     Update Configuration File: preserv

Versions of packages mercurial recommends:
ii  python-beaker                 0.9.5-1    Simple WSGI middleware that uses t
ii  rcs                           5.7-23     The GNU Revision Control System

Versions of packages mercurial suggests:
pn  python-elementtree    <none>             (no description available)
pn  python-mysqldb        <none>             (no description available)
pn  python-pygments       <none>             (no description available)
ii  python-subversion     1.5.1dfsg1-2       Python bindings for Subversion
pn  qct                   <none>             (no description available)
ii  tk8.4 [wish]          8.4.19-2           Tk toolkit for Tcl and X11, v8.4 -
ii  vim                   1:7.1.314-3+lenny2 Vi IMproved - enhanced vi editor
ii  vim-gnome [vim]       1:7.1.314-3+lenny2 Vi IMproved - enhanced vi editor -

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20090322/ac25f0c2/attachment.pgp 


More information about the Python-apps-team mailing list