Bug#429443: mismatch between man and actual git-svn on --prefix

2007-06-18 Thread RĂ©mi Vanicat
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-core1: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-perl2.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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429443: mismatch between man and actual git-svn on --prefix

2007-06-18 Thread Gerrit Pape
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.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429443: mismatch between man and actual git-svn on --prefix

2007-06-18 Thread Remi Vanicat

2007/6/18, Gerrit Pape [EMAIL PROTECTED]:


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.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429443: mismatch between man and actual git-svn on --prefix

2007-06-18 Thread Gerrit Pape
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.
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]