Re: Bug: Git-Svn creates wrong tag when svn tag contains spaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The problem is as follow:
1. git svn fetch
2.
Found possible branch point: https://xxx/svn/xxx/branches/11-07 D t-m
=> https://xxx/svn/xxx/branches/11-09 S t-m, 4332
fatal: Not a valid object name refs/remotes/1-11 M R 2.6
cat-file commit refs/remotes/1-11 M R 2.6: command returned error: 128

I'm using git version 1.7.9.5 on Ubuntu 12.04

I've tried to create the tag manually, but it's not allowed.
$ git tag "11-07 D t-m" remotes/11-07%20D
fatal: '11-07 D t-m' is not a valid tag name.

As workaround I've tried:
- to create or rename tag manually as suggested here:
http://stackoverflow.com/questions/11365317/git-svn-clone-fails-fatal-not-a-valid-object-name/11559472#11559472
- http://qa.celogeek.com/programming/versionning/git/svn/rebase_with_bad_object_after_rm
But without success.

There is also bug report on lunchpad:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/786942
strace log:
[pid 30618] access(".git/config", R_OK) = 0
[pid 30618] open(".git/config", O_RDONLY) = 3
[pid 30618] fstat(3, {st_mode=S_IFREG|0664, st_size=551, ...}) = 0
[pid 30618] mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2ed01e9000
[pid 30618] read(3, "[core]\n\trepositoryformatversion "..., 4096) = 551
[pid 30618] read(3, "", 4096)           = 0
[pid 30618] close(3)                    = 0
[pid 30618] munmap(0x7f2ed01e9000, 4096) = 0
[pid 30618] write(2, "fatal: Not a valid object name r"..., 76fatal:
Not a valid object name refs/remotes/1-11 M R 2.6
) = 76
[pid 30618] exit_group(128)             = ?

---
Kind regards,
Rafal



On 19 July 2012 16:08, Thomas Rast <trast@xxxxxxxxxxxxxxx> wrote:
>
> "Rafal W." <kenorb@xxxxxxxxx> writes:
>
> > I've the problem described here:
> > http://code.google.com/p/git-core/issues/detail?id=16
>
> Git does not have a bug tracker.  Please post the issue, description,
> etc. to this list.
>
> --
> Thomas Rast
> trast@{inf,student}.ethz.ch
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]