git svn fails to work
I have been tying for a week to get git svn to work. If i do a 'git clone' and if falls over 'git svn fetch' picks up from where it left off, but on completion I can only see the older stuff if at all and a 'git clone rebase' eithr shoud up unreconsilable differences or refuses to execute the command at all, gust giving uphelpfull help afaics.
Does anyone have a real work how to for git svn ?
Otherwise I am giving up and either going back to svn or over to mercurial.
Aaron
Quoted 5 lines · Aaron Gray
I have been tying for a week to get git svn to work. If i do a 'git clone' and if falls over 'git svn fetch' picks up from where it left off, but on completion I can only see the older stuff if at all and a 'git clone rebase' eithr shoud up unreconsilable differences or refuses to execute the command at all, gust giving uphelpfull help afaics.
I am afraid if you expect anyone to help you with you, you have to spend a little more time to describe your problem. You have not mentioned what version of Git you use, what operating system, what is layout of your SVN repo, what commands and with what options you used and what was their output. Without that information no one will be able to help you...
Quoted 1 line
Otherwise I am giving up and either going back to svn or over to mercurial.
Yeah, right... These kind of threats will make people who want to help to come running....
Dmitry
Quoted 10 lines · Aaron Gray
The commands
git svn clone http://llvm.org/svn/llvm-project/llvm/trunk
when connection fails I do a :-
git svn fetch
gitweb is not updating at all to show any change in the repository.
"git svn fetch" only updates the remote branch. In the same way as "git fetch" only fetches changes from the remote repo and updates the remote branch. You can see only local branches with gitweb.
So, you may want to run "git svn rebase" instead. (Note: the command is "git svn rebase" and not "git clone rebase" as you wrote earlier).
"git svn rebase" fetches all changes as "git svn fetch" does but then it rebases your local commits on the current branch on top of the svn remote branch. If you do not have any local commits then it just updates the top of the current branch to be the same.
Note: Running "git svn rebase" requires that your working tree is clean (no uncommitted changes).
You can always see all branches and what changes they have by
running:
gitk --all &
Dmitry
Quoted 17 lines
Quoted 8 lines · Aaron Gray
I have been tying for a week to get git svn to work. If i do a 'git clone'
and if falls over 'git svn fetch' picks up from where it left off, but on completion I can only see the older stuff if at all and a 'git clone rebase'
eithr shoud up unreconsilable differences or refuses to execute the command
at all, gust giving uphelpfull help afaics.I am afraid if you expect anyone to help you with you, you have to spend a little more time to describe your problem. You have not mentioned what version of Git you use, what operating system, what is layout of your SVN repo, what commands and with what options you used and what was their output. Without that information no one will be able to help you...
Quoted 5 lines
Quoted 2 lines
Otherwise I am giving up and either going back to svn or over to mercurial.
Yeah, right... These kind of threats will make people who want to help to come running....
Sorry, but I am very frustrated with the whole thing, there is not real user guides for git-svn other that third party ones which seem to be wrong.
I am using Fedora 10, GIT 1.6.0.6, the svn repo is standard layout although I only want trunk, it here :-
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
This is quite a big repository 65000 or more revisions.
The commands
git svn clone http://llvm.org/svn/llvm-project/llvm/trunk
when connection fails I do a :-
git svn fetch
gitweb is not updating at all to show any change in the repository.
Aaron
Quoted 42 lines · Aaron Gray
Quoted 18 lines
Quoted 9 lines · Aaron Gray
I have been tying for a week to get git svn to work. If i do a 'git clone'
and if falls over 'git svn fetch' picks up from where it left off, but on completion I can only see the older stuff if at all and a 'git clone rebase'
eithr shoud up unreconsilable differences or refuses to execute the command
at all, gust giving uphelpfull help afaics.I am afraid if you expect anyone to help you with you, you have to spend a little more time to describe your problem. You have not mentioned what version of Git you use, what operating system, what is layout of your SVN repo, what commands and with what options you used and what was their output. Without that information no one will be able to help you...
Quoted 5 lines
Quoted 2 lines
Otherwise I am giving up and either going back to svn or over to mercurial.
Yeah, right... These kind of threats will make people who want to help to come running....
Sorry, but I am very frustrated with the whole thing, there is not real user guides for git-svn other that third party ones which seem to be wrong.
I am using Fedora 10, GIT 1.6.0.6, the svn repo is standard layout although I only want trunk, it here :-
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
This is quite a big repository 65000 or more revisions.
The commands
git svn clone http://llvm.org/svn/llvm-project/llvm/trunk
when connection fails I do a :-
git svn fetch
Quoted 9 lines
gitweb is not updating at all to show any change in the repository.
Aaron
--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
gitweb will only show your local branches. git svn fetch will update the remote branches associated with svn. You'll need to create a local tracking branch for the svn remote branch.
Getting GIT+git-daemon+gitweb working properly on Fedora 10
gitweb is showing a repository last changed on the front page 2 days ago but in the summary is showing a change 3 hours ago.
I am getting different behaviours from different repositories. on gitweb and in their base directories some have file some donot. The ones with files have not been checked out and will not commit either.
What I need is a well written set of instructions on how to import both small and large SVN repositories and how to serve them and how to get gitweb to reflect actually what is going on.
Thanks,
Aaron
Re: Getting GIT+git-daemon+gitweb working properly on Fedora 10
Quoted 6 lines · Aaron Gray
gitweb is showing a repository last changed on the front page 2 days ago but in the summary is showing a change 3 hours ago.
I am getting different behaviours from different repositories. on gitweb and in their base directories some have file some donot. The ones with files have not been checked out and will not commit either.
What I need is a well written set of instructions on how to import both small and large SVN repositories and how to serve them and how to get gitweb to reflect actually what is going on.
What does google provide on the subject? What search-terms did you try?
Signature · 7 lines
Andreas Ericsson [email protected] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace.