My .git/config was as follows (which seems in accord with your advice):
==================================================
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url =
ssh://[email protected]/gitroot/openxpki/openxpki
[branch "master"]
remote = origin
merge = refs/heads/master
[svn-remote "svn"]
url = https://[email protected]/svnroot/openxpki
fetch = :refs/remotes/git-svn
==================================================
>From which directory the command "git svn rebase" should be given?
If I give it from the top level of the repository (which has .git) in
it, then it ends with
"Unable to determine upstream SVN information from working tree history"
If I give it from within .git directory, it says that virtualy
everything needs update like this:
========================================================================================
...
trunk/clients/perl/OpenXPKI-Client-HTML-Mason/htdocs/authentication/open_form.mhtml:
needs update
trunk/clients/perl/OpenXPKI-Client-HTML-Mason/htdocs/authentication/passwd.mhtml:
needs update
trunk/clients/perl/OpenXPKI-Client-HTML-Mason/htdocs/authentication/pki_realm.mhtml:
needs update
trunk/clients/perl/OpenXPKI-Client-HTML-Mason/htdocs/authentication/role.mhtml:
needs update
trunk/clients/perl/OpenXPKI-Client-HTML-Mason/htdocs/authentication/session.mhtml:
needs update
trunk/clients/perl/OpenXPKI-Client-HTML-Mason/htdocs/authentication/shibboleth.mhtml:
needs update
trunk/clients/perl/OpenXPKI-Client-HTML-Mason/htdocs/authentication/sso.mhtml:
needs update
trunk/clients/perl/OpenXPKI-Client-HTML-Mason/htdocs/authentication/x509.mhtml:
needs update
trunk/clients/perl/OpenXPKI-Client-HTML-Mason/htdocs/authentication/x509_webserver.mhtml:
needs update
trunk/clients/perl/OpenXPKI-Client-HTML-Mason/htdocs/autohandler: needs
update
trunk/clients/perl/OpenXPKI-Client-HTML-Mason/htdocs/binary/autohandler:
needs update
fatal: ambiguous argument 'HEAD': both revision and filename
Use '--' to separate filenames from revisions
log --no-color --no-decorate --first-parent --pretty=medium HEAD:
command returned error: 128
========================================================================================
On 10.02.2012 13:26, Martin Bartosch wrote:
> Hi Sergei,
>
>> For use with lastmidnight generator
>> I have a working copy of a "git snapshot" which was created with a command:
>>
>> git clone git://openxpki.git.sourceforge.net/gitroot/openxpki/openxpki
>>
>> To update this snapshot nightly from a SF repository I used to issue
>> command:
>>
>> git svn rebase
>>
>> which now says:
>>
>> Unable to determine upstream SVN information from working tree history
>
> Try the following: enter the top level of the repository tree. You should
> find a directory .git in this directory.
>
> Edit .git/config
>
> Check if you have got a section that looks like this:
>
> [svn-remote "svn"]
> url = https://[email protected]/svnroot/openxpki
> fetch = :refs/remotes/git-svn
>
> If this does not exist, add it. Replace the user name with yours on SF or
> replace the URL with the read-only SVN base URL.
>
> Once you have done this the command "git svn rebase" should work properly.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
OpenXPKI-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-devel