git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about git-svn
@ 2009-08-31 13:01 martin liste larsson
  2009-09-05  6:09 ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: martin liste larsson @ 2009-08-31 13:01 UTC (permalink / raw)
  To: git

I have a problem using git-svn. Is this the right place to ask then?

I have followed Andy Delcambre's
http://herebeforeatreplies.com/2008/03/04/git-svn-workflow.html, but
it seems that not all my tags and branches are being imported from svn
to (local) git. That is, 'git branch -a' gives much less output (about
half) of the combination 'svn list http://repos/branches' and 'svn
list http://repos/tags'. What's missing seems to be the newest
branches and tags.

M.

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

* Re: Question about git-svn
  2009-08-31 13:01 Question about git-svn martin liste larsson
@ 2009-09-05  6:09 ` Eric Wong
  2009-09-15 11:49   ` Martin Larsson
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Wong @ 2009-09-05  6:09 UTC (permalink / raw)
  To: martin liste larsson; +Cc: git

martin liste larsson <martin.liste.larsson@gmail.com> wrote:
> I have a problem using git-svn. Is this the right place to ask then?

Hi, Yes, feel free to Cc me directly as well.

> I have followed Andy Delcambre's
> http://herebeforeatreplies.com/2008/03/04/git-svn-workflow.html, but
> it seems that not all my tags and branches are being imported from svn
> to (local) git. That is, 'git branch -a' gives much less output (about
> half) of the combination 'svn list http://repos/branches' and 'svn
> list http://repos/tags'.

Are there branches/tags in subdirectories?

As in, do you have stuff in http://repos/branches/foo/* as well
as just http://repos/branches/* ?

You'll need git 1.6.4 to handle that with multiple branches entries:

before:

	[svn-remote "svn"]
		branches = project/branches/*:refs/remotes/*

after:
	[svn-remote "svn"]
		branches = project/branches/*:refs/remotes/*
		branches = project/branches/foo/*: refs/remotes/foo/*

> What's missing seems to be the newest
> branches and tags.

Just checking the obvious, you are running "git svn fetch", right?

-- 
Eric Wong

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

* Re: Question about git-svn
  2009-09-05  6:09 ` Eric Wong
@ 2009-09-15 11:49   ` Martin Larsson
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Larsson @ 2009-09-15 11:49 UTC (permalink / raw)
  To: Eric Wong; +Cc: git

On Fri, 2009-09-04 at 23:09 -0700, Eric Wong wrote:
> martin liste larsson <martin.liste.larsson@gmail.com> wrote:
> > I have a problem using git-svn. Is this the right place to ask then?
> 
> Hi, Yes, feel free to Cc me directly as well.

Sorry for the long delay, your answer seemed to get lost in the
flood... :*)


> Just checking the obvious, you are running "git svn fetch", right?

It seemed the download terminated, for some reason. Running "git svn
fetch" again allowed it to continue. After a couple of days and
attempts, everything got downloaded. But it would be helpful if git told
me it had failed. As it was now, the end of a failed run looked like
this (a random selection):
...
r495 = da7253aa4d2af7d3349b36d917573e948ccd2828 (tags/DelfiRaadgiver-2.6.0-b9@1352)
        A       Kildekode/Script.deploy/deploy_all_webapps_utv.cmd
r496 = 28e21ba0098d7f7ae74f134af42fe8dc92718f56 (tags/DelfiRaadgiver-2.6.0-b9@1352)
        M       Kildekode/Database/data/kundespesifikk/fanasb/data_dr_aktivaklasser.sql
r497 = 58543e617e27bb7960e0b64ab2419edd90b5c56e (tags/DelfiRaadgiver-2.6.0-b9@1352)
        M       Kildekode/Moduler/DRBasis/src/java/no/delfidata/raad2/jdbo/func/RaadJDBOOpsImpl.java
r498 = e882fe24795addf8cecdeea9dcb82f1a49697e40 (tags/DelfiRaadgiver-2.6.0-b9@1352)
        M       Kildekode/Database/data/kundespesifikk/fanasb/data_ds_user.sql
r499 = e8f6b1350d2d6fcd7fe786f1aa4837e1f61cf8b3 (tags/DelfiRaadgiver-2.6.0-b9@1352)
        M       Kildekode/Database/dokumentasjon/raad_db_1_1.PDM
r500 = cd273927d38ed673c2ec895f641f322dc8818f9a (tags/DelfiRaadgiver-2.6.0-b9@1352)
Auto packing your repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
Counting objects: 36, done.
Compressing objects: 100% (34/34), done.
Writing objects: 100% (36/36), done.
Total 36 (delta 10), reused 0 (delta 0)
Removing duplicate objects: 100% (256/256), done.
        M       Kildekode/Database/data/kundespesifikk/handelsbanken/data_ds_user.sql
r501 = 27fc97c162b9cf440ce8a5f6e8dea10354324309 (tags/DelfiRaadgiver-2.6.0-b9@1352)
        M       Kildekode/Database/data/kundespesifikk/sbm/data_dr_aktivaklasser.sql
r502 = 19d5cf2da05f7b92cb134c6ae83f6ffc5f3cde08 (tags/DelfiRaadgiver-2.6.0-b9@1352)
        M       Kildekode/Database/data/kundespesifikk/sbsoer/data_dr_aktivaklasser.sql
        M       Kildekode/Database/data/kundespesifikk/sbsoer/data_dr_aktivaklasser.xls
r503 = f73d7bb66e7bfe6a05647da371be477bf43d36e5 (tags/DelfiRaadgiver-2.6.0-b9@1352)
        A       Kildekode/Database/data/kundespesifikk/sdc/data_ds_user.sql
r504 = 8fdf43287207b4029679e4e86c405eabd2be6596 (tags/DelfiRaadgiver-2.6.0-b9@1352)
        A       Kildekode/Script.deploy/build_all_webapps_utv.xml
        M       Kildekode/Script.deploy/deploy_all_webapps_utv.cmd
r505 = d7a31939c0aed653540b471c8f5e464870fca5b1 (tags/DelfiRaadgiver-2.6.0-b9@1352)
        M       Kildekode/Script.deploy/build_all_webapps_utv.xml
r506 = 4ff67d714dedeed065c359376b7d055d67a4c02b (tags/DelfiRaadgiver-2.6.0-b9@1352)
martin@martin:~/Arbeid/git-rpm$ 

There's no real indication that this failed. But "git branch -a" doesn't
list 'master'.

However, as I said, repeating "git svn fetch" until very tired, made it
finally work...

M.

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

end of thread, other threads:[~2009-09-15 11:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-31 13:01 Question about git-svn martin liste larsson
2009-09-05  6:09 ` Eric Wong
2009-09-15 11:49   ` Martin Larsson

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).