* git-svn problems with branches containing spaces
@ 2007-06-27 6:53 Ewald, Robert
2007-07-10 13:42 ` Gerrit Pape
0 siblings, 1 reply; 4+ messages in thread
From: Ewald, Robert @ 2007-06-27 6:53 UTC (permalink / raw)
To: git
Hello,
As I have reported yesterday on IRC, git-svn has problems with branches
containing spaces.
I get the following message, when I want to clone from the repository
containing a branch with a space.
Cloning until the revision the branch is created everything works fine.
fatal: refs/remotes/Modbus Error Limit Fix: cannot lock the ref
update-ref -m r1897 refs/remotes/Modbus Error Limit Fix
ff0819c8e9c97c24e9865bc868c503fd9b64f980: command returned error: 128
Thanks for your help.
Best regards
Robert Ewald
PS. Please CC me, I am not subscribed.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-svn problems with branches containing spaces
2007-06-27 6:53 git-svn problems with branches containing spaces Ewald, Robert
@ 2007-07-10 13:42 ` Gerrit Pape
2007-07-10 18:33 ` Jan Hudec
2007-07-11 8:29 ` Eric Wong
0 siblings, 2 replies; 4+ messages in thread
From: Gerrit Pape @ 2007-07-10 13:42 UTC (permalink / raw)
To: git
On Wed, Jun 27, 2007 at 08:53:06AM +0200, Ewald, Robert wrote:
> As I have reported yesterday on IRC, git-svn has problems with branches
> containing spaces.
> I get the following message, when I want to clone from the repository
> containing a branch with a space.
> Cloning until the revision the branch is created everything works fine.
>
> fatal: refs/remotes/Modbus Error Limit Fix: cannot lock the ref
> update-ref -m r1897 refs/remotes/Modbus Error Limit Fix
> ff0819c8e9c97c24e9865bc868c503fd9b64f980: command returned error: 128
>
> Thanks for your help.
Hi, the same problem has been reported some time ago through
http://bugs.debian.org/430518
There's a patch attached to the report, but from a first glance, I don't
think it's the solution.
Thanks, Gerrit.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-svn problems with branches containing spaces
2007-07-10 13:42 ` Gerrit Pape
@ 2007-07-10 18:33 ` Jan Hudec
2007-07-11 8:29 ` Eric Wong
1 sibling, 0 replies; 4+ messages in thread
From: Jan Hudec @ 2007-07-10 18:33 UTC (permalink / raw)
To: git
[-- Attachment #1: Type: text/plain, Size: 1163 bytes --]
On Tue, Jul 10, 2007 at 13:42:35 +0000, Gerrit Pape wrote:
> On Wed, Jun 27, 2007 at 08:53:06AM +0200, Ewald, Robert wrote:
> > As I have reported yesterday on IRC, git-svn has problems with branches
> > containing spaces.
> > I get the following message, when I want to clone from the repository
> > containing a branch with a space.
> > Cloning until the revision the branch is created everything works fine.
> >
> > fatal: refs/remotes/Modbus Error Limit Fix: cannot lock the ref
> > update-ref -m r1897 refs/remotes/Modbus Error Limit Fix
> > ff0819c8e9c97c24e9865bc868c503fd9b64f980: command returned error: 128
> >
> > Thanks for your help.
>
> Hi, the same problem has been reported some time ago through
> http://bugs.debian.org/430518
>
> There's a patch attached to the report, but from a first glance, I don't
> think it's the solution.
It depends on whether it's OK for git to have refs with funny characters in
them. If it is, than the patch would be a fix. If not, than the escaping the
patch removes needs to be added to all other places that have any business
with refs.
--
Jan 'Bulb' Hudec <bulb@ucw.cz>
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-svn problems with branches containing spaces
2007-07-10 13:42 ` Gerrit Pape
2007-07-10 18:33 ` Jan Hudec
@ 2007-07-11 8:29 ` Eric Wong
1 sibling, 0 replies; 4+ messages in thread
From: Eric Wong @ 2007-07-11 8:29 UTC (permalink / raw)
To: git; +Cc: Ewald, Robert
Gerrit Pape <pape@smarden.org> wrote:
> On Wed, Jun 27, 2007 at 08:53:06AM +0200, Ewald, Robert wrote:
> > As I have reported yesterday on IRC, git-svn has problems with branches
> > containing spaces.
> > I get the following message, when I want to clone from the repository
> > containing a branch with a space.
> > Cloning until the revision the branch is created everything works fine.
> >
> > fatal: refs/remotes/Modbus Error Limit Fix: cannot lock the ref
> > update-ref -m r1897 refs/remotes/Modbus Error Limit Fix
> > ff0819c8e9c97c24e9865bc868c503fd9b64f980: command returned error: 128
> >
> > Thanks for your help.
>
> Hi, the same problem has been reported some time ago through
> http://bugs.debian.org/430518
>
> There's a patch attached to the report, but from a first glance, I don't
> think it's the solution.
That patch is definitely not a correct solution. If another branch came
along with the same name as an automatically renamed one, it would break
things badly.
I started working on a patch that allowed the user to interactively
specify replacement branch names, but never got around to finishing
it:
http://permalink.gmane.org/gmane.comp.version-control.git/45651
--
Eric Wong
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-07-11 8:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-27 6:53 git-svn problems with branches containing spaces Ewald, Robert
2007-07-10 13:42 ` Gerrit Pape
2007-07-10 18:33 ` Jan Hudec
2007-07-11 8:29 ` Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).