[Nut-upsdev] git and svn [was: [PATCH] nut: add autogen.sh]
Charles Lepple
clepple at gmail.com
Sun Nov 23 17:10:24 UTC 2008
On Sun, Jun 22, 2008 at 3:04 PM, Charles Lepple <clepple at gmail.com> wrote:
> On Sun, Jun 22, 2008 at 3:56 PM, Axel Gembe <ago at bastart.eu.org> wrote:
>> Charles Lepple wrote:
>>> this looks like the output of git. How is that working out? Would you
>>> care to share some details on your setup?
>>>
>> Yes, indeed it is. I recently started using git-svn to clone svn
>> repositories so I can work with them when my internet connection is lagging.
>> Basically what I did was to first use "git-svn clone -s
>> svn://svn.debian.org/nut/" which will get you a local copy with all the
>> branches and tags.
>> Then I do a "git checkout master && git-svn fetch && git-svn rebase" to
>> update my local copy when I need something new.
>> I'm having a local branch set up on which I make my changes and when I
>> want to get my changes onto the latest trunk I do a "git rebase -i master".
>> I create my patches using git-format-patch. I never had the time to test
>> out stuff like dcommit yet, but I heard it works good.
>> If you need anymore details, I'll provide them.
>
> Thanks for explaining!
>
> Just tried the 'git-svn clone' command, but it seems to be pulling
> down the entire repository. Is there a way to tell git to just start
> from the latest trunk and branches?
For the record, it seems as though it is possible to choose among
several different ways of mirroring the repository:
http://utsl.gen.nz/talks/git-svn/intro.html#howto-fetch-head
--
- Charles Lepple
More information about the Nut-upsdev
mailing list