Debian Bug report logs - #429443
mismatch between man and actual git-svn on --prefix

version graph

Package: git-svn; Maintainer for git-svn is Jonathan Nieder <jrnieder@gmail.com>; Source for git-svn is src:git (PTS, buildd, popcon).

Reported by: Rémi Vanicat <vanicat@debian.org>

Date: Mon, 18 Jun 2007 07:06:09 UTC

Severity: normal

Found in version git-core/1:1.5.2.1-1

Fixed in version git-core/1:1.5.2.2-1

Done: Gerrit Pape <pape@smarden.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#429443; Package git-svn. (full text, mbox, link).


Acknowledgement sent to Rémi Vanicat <vanicat@debian.org>:
New Bug report received and forwarded. Copy sent to Gerrit Pape <pape@smarden.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Rémi Vanicat <vanicat@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mismatch between man and actual git-svn on --prefix
Date: Mon, 18 Jun 2007 08:29:31 +0200
Package: git-svn
Version: 1:1.5.2.1-1
Severity: normal

the manual of git-svn tell me that :
           --prefix=<prefix>
               This allows one to specify a prefix which is prepended to the
               names of remotes if trunk/branches/tags are specified. The
               prefix does not automatically include a trailing slash, so be
               sure you include one in the argument if that is what you want.
               This is useful if you wish to track multiple projects that
               share a common repository.

but, if one to not put the said trailing slash, one have the following
error: 

$ git svn init -Ttrunk/mutagen -treleases -bbranches http://svn.sacredchao.net/svn/quodlibet/ --prefix mutagen
Initialized empty Git repository in .git/
--prefix='mutagen' must have a trailing slash '/'

(and, yes, I do want that there is no trailing slash...)


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (700, 'stable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21.5acer (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-svn depends on:
ii  git-core                    1:1.5.2.1-1  fast, scalable, distributed revisi
ii  libsvn-perl [libsvn-core-pe 1.4.4dfsg1-1 Perl bindings for Subversion
ii  libterm-readkey-perl        2.30-3       A perl module for simple terminal 
ii  libwww-perl                 5.805-1      WWW client/server library for Perl

Versions of packages git-svn recommends:
ii  git-doc                      1:1.5.2.1-1 fast, scalable, distributed revisi

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#429443; Package git-svn. (full text, mbox, link).


Acknowledgement sent to 429443@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (full text, mbox, link).


Message #10 received at 429443@bugs.debian.org (full text, mbox, reply):

From: Gerrit Pape <pape@smarden.org>
To: R??mi Vanicat <vanicat@debian.org>, 429443@bugs.debian.org
Subject: Re: Bug#429443: mismatch between man and actual git-svn on --prefix
Date: Mon, 18 Jun 2007 10:00:39 +0000
On Mon, Jun 18, 2007 at 08:29:31AM +0200, R??mi Vanicat wrote:
> the manual of git-svn tell me that :
>            --prefix=<prefix>
>                This allows one to specify a prefix which is prepended to the
>                names of remotes if trunk/branches/tags are specified. The
>                prefix does not automatically include a trailing slash, so be
>                sure you include one in the argument if that is what you want.
>                This is useful if you wish to track multiple projects that
>                share a common repository.
> 
> but, if one to not put the said trailing slash, one have the following
> error: 
> 
> $ git svn init -Ttrunk/mutagen -treleases -bbranches http://svn.sacredchao.net/svn/quodlibet/ --prefix mutagen
> Initialized empty Git repository in .git/
> --prefix='mutagen' must have a trailing slash '/'
> 
> (and, yes, I do want that there is no trailing slash...)

Hi, i can confirm this.  But I'm not sure what config actually should be
created when setting a prefix.

Without prefix you get (remotes/)
 trunk
 branch0
 branch1
 tags/tag0
 tags/tag1

What do you expect with prefix=mutagen (without trailing slash)?  E.g.
 mutagentrunk
 mutagenbranches/branch0
 mtuagenbranches/branch1
 mutagentags/tag0
or
 mutagentrunk
 mutagen/branch0
 mutagen/branch1
 mutagentags/tag0

Regards, Gerrit.



Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#429443; Package git-svn. (full text, mbox, link).


Acknowledgement sent to "Remi Vanicat" <vanicat@debian.org>:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (full text, mbox, link).


Message #15 received at 429443@bugs.debian.org (full text, mbox, reply):

From: "Remi Vanicat" <vanicat@debian.org>
To: 429443@bugs.debian.org
Subject: Re: Bug#429443: mismatch between man and actual git-svn on --prefix
Date: Mon, 18 Jun 2007 12:42:27 +0200
2007/6/18, Gerrit Pape <pape@smarden.org>:
>
> Hi, i can confirm this.  But I'm not sure what config actually should be
> created when setting a prefix.
>
> Without prefix you get (remotes/)
>  trunk
>  branch0
>  branch1
>  tags/tag0
>  tags/tag1
>
> What do you expect with prefix=mutagen (without trailing slash)?  E.g.
>  mutagentrunk
>  mutagenbranches/branch0
>  mtuagenbranches/branch1
>  mutagentags/tag0
> or
>  mutagentrunk
>  mutagen/branch0
>  mutagen/branch1
>  mutagentags/tag0
>
> Regards, Gerrit.
>

to say the true, I had misread the git-svn manual. So what I rely
wanted as nothing to do with the --prefix option, and I believe that
the best option here is to correct the manual by asserting there that
the trailing / is mandatory.



Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#429443; Package git-svn. (full text, mbox, link).


Acknowledgement sent to 429443@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (full text, mbox, link).


Message #20 received at 429443@bugs.debian.org (full text, mbox, reply):

From: Gerrit Pape <pape@smarden.org>
To: Remi Vanicat <vanicat@debian.org>, 429443@bugs.debian.org
Subject: Re: Bug#429443: mismatch between man and actual git-svn on --prefix
Date: Mon, 18 Jun 2007 11:21:59 +0000
On Mon, Jun 18, 2007 at 12:42:27PM +0200, Remi Vanicat wrote:
> to say the true, I had misread the git-svn manual. So what I rely
> wanted as nothing to do with the --prefix option, and I believe that
> the best option here is to correct the manual by asserting there that
> the trailing / is mandatory.

Thanks, I agree.  Regards, Gerrit.
> 



Reply sent to Gerrit Pape <pape@smarden.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Rémi Vanicat <vanicat@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #25 received at 429443-close@bugs.debian.org (full text, mbox, reply):

From: Gerrit Pape <pape@smarden.org>
To: 429443-close@bugs.debian.org
Subject: Bug#429443: fixed in git-core 1:1.5.2.2-1
Date: Tue, 19 Jun 2007 18:32:02 +0000
Source: git-core
Source-Version: 1:1.5.2.2-1

We believe that the bug you reported is fixed in the latest version of
git-core, which is due to be installed in the Debian FTP archive:

git-arch_1.5.2.2-1_all.deb
  to pool/main/g/git-core/git-arch_1.5.2.2-1_all.deb
git-core_1.5.2.2-1.diff.gz
  to pool/main/g/git-core/git-core_1.5.2.2-1.diff.gz
git-core_1.5.2.2-1.dsc
  to pool/main/g/git-core/git-core_1.5.2.2-1.dsc
git-core_1.5.2.2.orig.tar.gz
  to pool/main/g/git-core/git-core_1.5.2.2.orig.tar.gz
git-cvs_1.5.2.2-1_all.deb
  to pool/main/g/git-core/git-cvs_1.5.2.2-1_all.deb
git-daemon-run_1.5.2.2-1_all.deb
  to pool/main/g/git-core/git-daemon-run_1.5.2.2-1_all.deb
git-doc_1.5.2.2-1_all.deb
  to pool/main/g/git-core/git-doc_1.5.2.2-1_all.deb
git-email_1.5.2.2-1_all.deb
  to pool/main/g/git-core/git-email_1.5.2.2-1_all.deb
git-gui_1.5.2.2-1_all.deb
  to pool/main/g/git-core/git-gui_1.5.2.2-1_all.deb
git-p4_1.5.2.2-1_all.deb
  to pool/contrib/g/git-core/git-p4_1.5.2.2-1_all.deb
git-svn_1.5.2.2-1_all.deb
  to pool/main/g/git-core/git-svn_1.5.2.2-1_all.deb
gitk_1.5.2.2-1_all.deb
  to pool/main/g/git-core/gitk_1.5.2.2-1_all.deb
gitweb_1.5.2.2-1_all.deb
  to pool/main/g/git-core/gitweb_1.5.2.2-1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 429443@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gerrit Pape <pape@smarden.org> (supplier of updated git-core package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 19 Jun 2007 17:32:30 +0000
Source: git-core
Binary: git-email git-core git-daemon-run git-doc git-cvs git-svn gitk gitweb git-p4 git-arch git-gui
Architecture: all source
Version: 1:1.5.2.2-1
Distribution: unstable
Urgency: low
Maintainer: Gerrit Pape <pape@smarden.org>
Changed-By: Gerrit Pape <pape@smarden.org>
Description: 
 git-arch   - fast, scalable, distributed revision control system (arch interop
 git-core   - fast, scalable, distributed revision control system
 git-cvs    - fast, scalable, distributed revision control system (cvs interope
 git-daemon-run - fast, scalable, distributed revision control system (git-daemon s
 git-doc    - fast, scalable, distributed revision control system (documentatio
 git-email  - fast, scalable, distributed revision control system (email add-on
 git-gui    - fast, scalable, distributed revision control system (GUI)
 git-p4     - fast, scalable, distributed revision control system (p4 interoper
 git-svn    - fast, scalable, distributed revision control system (svn interope
 gitk       - fast, scalable, distributed revision control system (revision tre
 gitweb     - fast, scalable, distributed revision control system (web interfac
Closes: 427502 429443
Changes: 
 git-core (1:1.5.2.2-1) unstable; urgency=low
 .
   * new upstream point release.
     * Fix typo in remote branch example in git user manual (closes: #427502).
   * debian/diff/0003-git-branch-track-fix-tracking-branch-computation.diff:
     remove; applied upstream.
   * debian/versions.upstream: new; ordered list of upstream versions,
     starting with 1.0.0.
   * debian/changelog.upstream.sh: new; create changelog.upstream from git
     shortlog using debian/versions.upstream.
   * debian/changelog.upstream: re-created through changelog.upstream.sh.
   * debian/diff/0003-git-svn-trailing-slash-in-prefix-is-mandatory-with.diff:
     new; git-svn: trailing slash in prefix is mandatory with --branches/-b
     (closes: #429443).
Files: 
 095f5399190e723e6d3446c748f6df43 798 devel optional git-core_1.5.2.2-1.dsc
 6a0f39577cbfbb575edb3c45d8f5d528 1410352 devel optional git-core_1.5.2.2.orig.tar.gz
 ce150fb84286342a368beb0921fcadf0 137128 devel optional git-core_1.5.2.2-1.diff.gz
 f5426b9f9446beeb2d21117f729107d0 781270 doc optional git-doc_1.5.2.2-1_all.deb
 d0c195c9f6872e349fbba993544c9425 144432 devel optional git-arch_1.5.2.2-1_all.deb
 accf0d7f35bf4c4c3a1648c8b9912356 172892 devel optional git-cvs_1.5.2.2-1_all.deb
 592d42f3f2f86f5429c1978b1949bd78 182124 devel optional git-svn_1.5.2.2-1_all.deb
 d6a2b6915a1dd74af2013cb343e29366 135822 contrib/devel optional git-p4_1.5.2.2-1_all.deb
 f54f299a80c65f3d144187f9c44d057a 130902 devel optional git-daemon-run_1.5.2.2-1_all.deb
 4c0a581a952168385382c054d851ea2a 138760 devel optional git-email_1.5.2.2-1_all.deb
 1e5d82f46bcd04bf2abd738375111683 156448 devel optional git-gui_1.5.2.2-1_all.deb
 9f5332fc446b6fda35ebcb7e161b34d4 175066 devel optional gitk_1.5.2.2-1_all.deb
 ba4dbcef5d69c045cf4e21431aad27fb 170730 devel optional gitweb_1.5.2.2-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGeB8HGJoyQbxwpv8RAsFLAJ9kQqR5qszCFV5++WfnN7Ce7h63iwCfeAlm
4QkgHpz25Q5HlFqQOqr4fMA=
=OFUU
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 18 Jul 2007 07:30:25 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Feb 5 06:51:07 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.