git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Tim Newsome" <nuisance@casualhacker.net>
To: git <git@vger.kernel.org>
Subject: a partial git-svn checkout
Date: Thu, 28 Feb 2008 11:43:41 -0800	[thread overview]
Message-ID: <b930b3f10802281143j7be7398eg5ec5fdf5a288cfbc@mail.gmail.com> (raw)
In-Reply-To: <b930b3f10802280848g4c11960fx800f71761287e2f1@mail.gmail.com>

I'm trying to make git-svn only grab a couple of top-level directories
from the svn repository. I can only see how to grab the entire
repository, or a single subdirectory. Is this possible? How?

A little more background info:
At work we have a giant repository. A full checkout is about 8GB,
because it contains several projects and some cruft. So nobody makes a
full checkout. Specifically, there are 3 kinds of directories in
trunk/
1. development directories, which I personally do work on
2. library directories, which I need to build but don't actually work on
3. irrelevant directories, which I never need

Right now I just manually checked out all of 1, made symlinks for 2,
and added that to git. That's a workable checkout size. However, I'm
finding myself writing some scripts to deal with that, and I keep
thinking: git-svn already does this (and better), except that I don't
know how to tell it which directories to grab.

I don't really care about correctly importing tags and branches from
svn, although it would be a nice bonus. Is there a good solution for
this scenario already?

Tim
-- 
Tim Newsome  nuisance.at.casualhacker.net http://www.casualhacker.net/

           reply	other threads:[~2008-02-28 19:44 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <b930b3f10802280848g4c11960fx800f71761287e2f1@mail.gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b930b3f10802281143j7be7398eg5ec5fdf5a288cfbc@mail.gmail.com \
    --to=nuisance@casualhacker.net \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).