git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git svn fails to work
@ 2009-03-28 17:48 Aaron Gray
  2009-03-28 20:51 ` Dmitry Potapov
  0 siblings, 1 reply; 7+ messages in thread
From: Aaron Gray @ 2009-03-28 17:48 UTC (permalink / raw)
  To: Git Mailing List

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: git svn fails to work
  2009-03-28 17:48 git svn fails to work Aaron Gray
@ 2009-03-28 20:51 ` Dmitry Potapov
  2009-03-28 21:43   ` Aaron Gray
       [not found]   ` <7D416C4D4B0B43FB9E0A04FA641CCEE5@HPLAPTOP>
  0 siblings, 2 replies; 7+ messages in thread
From: Dmitry Potapov @ 2009-03-28 20:51 UTC (permalink / raw)
  To: Aaron Gray; +Cc: Git Mailing List

On Sat, Mar 28, 2009 at 8:48 PM, Aaron Gray
<aaronngray.lists@googlemail.com> wrote:
> 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...

> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: git svn fails to work
  2009-03-28 20:51 ` Dmitry Potapov
@ 2009-03-28 21:43   ` Aaron Gray
  2009-03-28 22:01     ` Jacob Helwig
       [not found]   ` <7D416C4D4B0B43FB9E0A04FA641CCEE5@HPLAPTOP>
  1 sibling, 1 reply; 7+ messages in thread
From: Aaron Gray @ 2009-03-28 21:43 UTC (permalink / raw)
  To: Git Mailing List

> On Sat, Mar 28, 2009 at 8:48 PM, Aaron Gray
> <aaronngray.lists@googlemail.com> wrote:
>> 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...
>
>> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: git svn fails to work
  2009-03-28 21:43   ` Aaron Gray
@ 2009-03-28 22:01     ` Jacob Helwig
  2009-03-28 23:18       ` Getting GIT+git-daemon+gitweb working properly on Fedora 10 Aaron Gray
  0 siblings, 1 reply; 7+ messages in thread
From: Jacob Helwig @ 2009-03-28 22:01 UTC (permalink / raw)
  To: Aaron Gray; +Cc: Git Mailing List

On Sat, Mar 28, 2009 at 14:43, Aaron Gray
<aaronngray.lists@googlemail.com> wrote:
>> On Sat, Mar 28, 2009 at 8:48 PM, Aaron Gray
>> <aaronngray.lists@googlemail.com> wrote:
>>>
>>> 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...
>>
>>> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> 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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Getting GIT+git-daemon+gitweb working properly on Fedora 10
  2009-03-28 22:01     ` Jacob Helwig
@ 2009-03-28 23:18       ` Aaron Gray
  2009-03-30  9:24         ` Andreas Ericsson
  0 siblings, 1 reply; 7+ messages in thread
From: Aaron Gray @ 2009-03-28 23:18 UTC (permalink / raw)
  To: Git Mailing List

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: git svn fails to work
       [not found]   ` <7D416C4D4B0B43FB9E0A04FA641CCEE5@HPLAPTOP>
@ 2009-03-29  4:38     ` Dmitry Potapov
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Potapov @ 2009-03-29  4:38 UTC (permalink / raw)
  To: Aaron Gray; +Cc: Git Mailing List

On Sun, Mar 29, 2009 at 12:42 AM, Aaron Gray
<aaronngray.lists@googlemail.com> wrote:
>
> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Getting GIT+git-daemon+gitweb working properly on Fedora 10
  2009-03-28 23:18       ` Getting GIT+git-daemon+gitweb working properly on Fedora 10 Aaron Gray
@ 2009-03-30  9:24         ` Andreas Ericsson
  0 siblings, 0 replies; 7+ messages in thread
From: Andreas Ericsson @ 2009-03-30  9:24 UTC (permalink / raw)
  To: Aaron Gray; +Cc: Git Mailing List

Aaron Gray wrote:
> 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?

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-03-30  9:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-28 17:48 git svn fails to work Aaron Gray
2009-03-28 20:51 ` Dmitry Potapov
2009-03-28 21:43   ` Aaron Gray
2009-03-28 22:01     ` Jacob Helwig
2009-03-28 23:18       ` Getting GIT+git-daemon+gitweb working properly on Fedora 10 Aaron Gray
2009-03-30  9:24         ` Andreas Ericsson
     [not found]   ` <7D416C4D4B0B43FB9E0A04FA641CCEE5@HPLAPTOP>
2009-03-29  4:38     ` git svn fails to work Dmitry Potapov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).