james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Gazda <gazdahims...@gmail.com>
Subject How to use git-svn with James
Date Thu, 14 Jun 2012 08:40:53 GMT
Gentlemen,

is there anybody here who has managed it to create a working dir with git-svn?

I am trying to apply "Git for Apache committers" as decribed here
http://wiki.apache.org/general/GitAtApache . This is what I am doing:

-------8<--------------------
#!/bin/bash

set -x
set -e

# put your ASF user name here:
ASF_USER_NAME=
ASF_USER_EMAIL="$ASF_USER_NAME@apache.org"

PROJECT_NAME="james"
TRUNK="current"

# created dummy branches and tags just to exclude the possibility that
git-svn needs them
BRANCHES="trunk/sandbox/git-branches"
TAGS="trunk/sandbox/git-tags"

git clone git://git.apache.org/"$PROJECT_NAME".git
cd "$PROJECT_NAME"/.git; wget http://git.apache.org/authors.txt; cd ..
git config svn.authorsfile ".git/authors.txt"
# check if your username and email are identical to those in the author file
# git config user.name
# git config user.email
# if they are not identical, set the ASF values locally
git config user.name "$ASF_USER_NAME"
git config user.email "$ASF_USER_EMAIL"
git svn init --prefix=origin/ --tags="$TAGS" --trunk="$TRUNK"
--branches="$BRANCHES"
https://svn.apache.org/repos/asf/"$PROJECT_NAME"
#git svn init --prefix=origin/
"https://svn.apache.org/repos/asf/$PROJECT_NAME/$TRUNK"
git svn rebase
-------8<--------------------

It is the last command "git svn rebase" that fails with this message:

  Unable to determine upstream SVN information from working tree history

Does anybody have an idea what is the problem here?

Best,

gazda

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message