Skip to content

msysgit didn't storage the svn-remote in the repository .git/config file #90

Closed
lygstate opened this Issue Jan 7, 2013 · 3 comments

3 participants

@lygstate
lygstate commented Jan 7, 2013

It's storage the svn-remote information in he %HOME%/.gitconfig file,
so I can only manage a git clone of a single URL of Svn remote repository.

@hvoigt
MSysGit - the development behind Git for Windows member
hvoigt commented Jan 7, 2013

Could you give us a recipe to reproduce? For example the command you used to clone. Possibly referencing a public svn repo so everyone can take a look at it.

@lygstate
lygstate commented Jan 8, 2013
LYG@LYG-PC /d/CI/syncs/rsync
$ git svn clone  http://msinttypes.googlecode.com/svn/trunk/
Initialized empty Git repository in d:/CI/syncs/rsync/trunk/.git/
r1 = b113beb112e02d48e7ac09adeb729a91b5b06ffb (refs/remotes/git-svn)
        A       inttypes.h
        A       stdint.h
r2 = 75f1ad1d433e191e9b4928923b094e25e67d117e (refs/remotes/git-svn)
        M       stdint.h
r3 = 4182cf25b160bdc4ef0ed0f89fb839d211849e65 (refs/remotes/git-svn)
        M       inttypes.h
        M       stdint.h
r4 = 1265550cf2551133e5803fcbd63ef377331459b3 (refs/remotes/git-svn)
        M       stdint.h
r5 = bcce6d58e974c78ba6340192b6c9074e4d9211cd (refs/remotes/git-svn)
        M       stdint.h
r6 = b0506cc40e1403592af0bb0c3dfecf6bdd1d588d (refs/remotes/git-svn)
        M       inttypes.h
        M       stdint.h
r7 = b0bc93343e66fb5aa18bf00e7fa42dc90db88272 (refs/remotes/git-svn)
        M       stdint.h
r8 = b3ef901bcb5e132fff989e3d380aaec8cb9b9249 (refs/remotes/git-svn)
        M       inttypes.h
        M       stdint.h
r9 = 35b6a34eae644546492d41ba0af6703d49235e8d (refs/remotes/git-svn)
        M       inttypes.h
r10 = 8cc9e083628f1464e97ec73dff95ada8389fc877 (refs/remotes/git-svn)
        M       stdint.h
r11 = 32075bef3f18003ae96df2991c082d3a8a93a7c1 (refs/remotes/git-svn)
        M       inttypes.h
        M       stdint.h
r12 = 58ff9fae42ac253983832eaf929954e9f2168d1e (refs/remotes/git-svn)
        M       inttypes.h
r13 = b55e0e2e9c3a32177c05daf64b55ac93a1604439 (refs/remotes/git-svn)
        M       stdint.h
r14 = 2c52efb23b562baca58450e408e9828639eccc5d (refs/remotes/git-svn)
        M       stdint.h
r15 = a3410dd90706d79372111afaaa619b192b490c00 (refs/remotes/git-svn)
        M       stdint.h
r16 = ff8c284e9abe9c05d464675d94652a1326f128a8 (refs/remotes/git-svn)
        M       inttypes.h
        M       stdint.h
r17 = eb7d5cc8fc67a73304d323ef588efdcc5587f197 (refs/remotes/git-svn)
        M       stdint.h
r18 = c9376542c3126010c65b9971993f13c03f42272a (refs/remotes/git-svn)
        M       stdint.h
r19 = 881347c5a557e8c4402d241b3c3460a54467e26a (refs/remotes/git-svn)
        M       inttypes.h
r20 = a18c2ece52d29d032138447170865c0b9b6c7d61 (refs/remotes/git-svn)
        M       stdint.h
r21 = 63989a8790244ac2617c652a64e94086402a559f (refs/remotes/git-svn)
        M       stdint.h
r22 = 6d92543758a53c5618222d1c482e8fd4815b047e (refs/remotes/git-svn)
        M       stdint.h
r23 = 32f10163549ab968b36bca6520205da46f1744bc (refs/remotes/git-svn)
        M       stdint.h
r24 = ba2487902f50b12af2747ac8e06ebff271467a67 (refs/remotes/git-svn)
        M       stdint.h
r25 = 3b108649b42d9b36e581520b0ac2e210fa023c68 (refs/remotes/git-svn)
        M       inttypes.h
r26 = 98c7de5b64901ab162fcb4f4c982f9c0f9d9c1f4 (refs/remotes/git-svn)
Checked out HEAD:
  http://msinttypes.googlecode.com/svn/trunk r26

LYG@LYG-PC /d/CI/syncs/rsync
$ git svn clone  http://msinttypes.googlecode.com/svn/ msinttyes
Initialized empty Git repository in d:/CI/syncs/rsync/msinttyes/.git/
svn-remote.svn.url already set: http://msinttypes.googlecode.com/svn/trunk
wanted to set to: http://msinttypes.googlecode.com/svn
@dscho
MSysGit - the development behind Git for Windows member
dscho commented Apr 15, 2014

This is a pilot error. You clone once, then you do not clone anymore, but update. In the case of git svn it is called git svn rebase.

@dscho dscho closed this Apr 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.