On 4/19/13, Branko Čibej <[email protected]> wrote:
> On 19.04.2013 18:23, Olemis Lang wrote:
>> On 4/15/13, Branko Čibej <[email protected]> wrote:
>>> On 15.04.2013 17:14, Olemis Lang wrote:
>> [...]
>>>> btw , how often is the git clone updated ? real-time ?
>>> Should be real-time, yes. It runs off svnpubsub.
>>>
>> I thought I could figure this out by myself , but I couldn't and thereby I
>> ask :
>>
>>   - While using git mirror how can I map git to svn changesets ?
>>
>> e.g. something similar to hgsubversion's `hg log -r <nodeid>
>> --template="{svnrev}\n"`
>
> Look at the commit logs, they have git-svn-id tags which can be parsed
> to find the original revision.
>

Actually this is what I was doing

{{{
#!sh

$ git svn find-rev HEAD
1469760

$ git svn find-rev r1468583
Unable to determine upstream SVN information from HEAD history

$ git rebase --onto remotes/origin/trunk --root trunk
First, rewinding head to replay your work on top of it...
Fast-forwarded trunk to remotes/origin/trunk.

$ git svn find-rev HEAD
1469760

$ git svn find-rev r1468583
Unable to determine upstream SVN information from HEAD history

}}}

So it seems svn node ID resolution is not working as expected or (more
probable) I'm doing something wrong o.O

btw

{{{
#!sh

$ git branch -a
* trunk
  remotes/origin/0.1
  remotes/origin/0.2
  remotes/origin/0.3
  remotes/origin/0.4
  remotes/origin/0.5
  remotes/origin/HEAD -> origin/trunk
  remotes/origin/bep_0003_multiproduct
  remotes/origin/trunk

}}}

-- 
Regards,

Olemis.

Reply via email to