Can I set hooks for "pull"/"push"ing from/to a git-svn managed repository?
The situation is that I have a project host on Google Code, and use git to manage the local working copy. I want to set some hooks so that when checking in/out data from/to the SVN repository with git svn fetch and git svn dcommit, I can do some modification to t...
I am trying to use git as a frontend to a svn repository in order to be able to use git's nice features like simple branching, stashing etc.
The problem is that the SVN repository is quite large (8,000 revs) and contains lots of branches and tags (old as well as new).
It's a near standard layout, with a config containing fetch, branche...
Following the advice of this tutorial, I cloned an svn repository which did not have the standard layout.
git-svn clone -s http://example.com/my_subversion_repo local_dir
The -s is there to signify that my Subversion repository has a standard layout (trunk/, branches/, and tags/.) If your repository doesn’t have a standard layout...
Hi,
I am in the process of creating a Git working copy from our SVN server with 'git svn clone'. But this takes quite some time (we have > 20.000 revs and almost 10.000 files). I have some other machines (for other developers) that I would like to setup the same way. Will it be possible to copy the resulting files from the first mach...
I have a personal learning project that I shelved for awhile but recently decided to get back into. After hearing so much about Git, I decided to give it a try. Thus far I've been able to initialize an empty Git repository but then it prompts me for a password of which I've misplaced. My first question, where is the password being prompt...
I would like to create a backup of a git repository that I use for tracking a svn repository (with git-svn). Can I use git push --mirror for that purpose or would I lose any git-svn related information when I needed to restore the backup?
...
How does git-svn operate?
I have access to an svn repository at work but I'm going to start to work with a distributed team and I'd like to start to fire up git use on this project (as a pilot).
...
I've been using Git & Git-Svn for a year or so now and somehow just noticed that, after a dcommit, my commit history is preserved, but the timestamps aren't. In other words, each git commit entry is retained, but in Svn each commit has the same timestamp (more or less).
It's not unusual for me to work remotely for a day or so at a time,...
This python script is the best I have come up with so far. I just hacked it together and on a cursory first couple uses, seems to be acting correctly, but I can't help but feel there is an easier way to do this or even something built in (though I have searched and searched).
Thanks for the help.
#!/usr/bin/env python ...
We use svn, and I use git-svn to maintain sanity. At one point, our svn server decided to return a 403 for a certain folder. It happened to everybody, not just me.
Because of this, I'm unable to do a git-svn rebase. I see this error:
Index mismatch: 164adbb93408bed4ff0bdbcbf07bdfb2c49ed0ce != 64443edc6089f7f737e51cf8ea5ff3680c95a7e9
r...
My project I am working on is version controlled under SVN. I had to do a large number of refactorings. For this purpose I took my workspace and created a new git repository. Afterwards I made the refactorings and committed to my local git repository as often as possible, made branches etc..
Meanwhile someone made commits to the SVN. No...
A lot of svn repositories require new files to have an svn:eol-style attribute. Is there any way to ensure that this happens with git-svn ?
...
Hello,
I would like to use Git for my own purpose and I must use Subversion repository in my company. I know that there is 'git svn' command but it requires lineral history also in git repository. The problem with that is that I would like:
- to synchronize git repository with another my git repository on my remote disk so that I can s...
Here's the situation: We've got a huge svn repository, which is the "master" (can't change this because it's actually "owned" by another company). We would prefer to work locally in git to get the branching flexibility and speed that git offers. But we don't want to clone the whole repository.
The repository structure looks roughly like...
I am trying to clone Papercut, an smtp server emulator
I'm getting the list of SVN authors with svn log -q https://papercut.svn.codeplex.com/svn | grep -e '^r'| awk 'BEGIN {FS="|"};{print $2}'|sort|uniq which is giving me
RNO\_MCLWEB
SND\krobertson_cp
I created an authors.txt with the SVN_User = UserName <Email> format, but when I ru...
I'm working on a project that will be a base site for multiple other sites. Most of the core functionality will be the same so I don't want to maintain the same code all over the place and I'm wondering how best to do this.
Currently I have the "core" site in its own repo and then I just clone from that to make a new site. I can continu...
I'm working with a git repository using git-svn. Everything went fine until the day the maintainers of the svn repository decided to move the repository to a different URL.
How can I tell my git-svn client to fetch from the new svn repository?
I've changes the svn URL in the svn-remote of .git/config but now I get the following error:
...
How do I get git-svn to forget the svn authentication details ?
We have a pairing machine running windows server 2008 on which we have a git repo and we check-in to a central subversion repository. I want git to prompt me for my subversion authentication details each time I check-in.
I have removed the subversion files from under %APPD...
I've got a pair of git-svn branches which have been manually kept in sync by applying patches and what-not; git-merge has not been used. The branches are now in sync, which is to say that git diff A B has no output at all.
[A] +----+--+--+--+--------+---+--------+-+---+->
\ / X / / \ \ X / / / \ X
[B] --+-----+----...
We use Subversion locally, and we're working on a project that uses a fork of Fluent NHibernate, which is hosted on Github.
I'd like it set up so that a single svn checkout will retrieve everything necessary to build the project, but maintain the ability to fetch HEAD updates from github.
Is there any way I can pull code from the Git r...