From: "Hillel (Sabba) Markowitz" <sabbahillel@gmail.com>
To: git@vger.kernel.org
Subject: Question about git svn handling svn external
Date: Thu, 10 Feb 2011 11:44:28 -0500 [thread overview]
Message-ID: <AANLkTi=TsWQh95MgFCW6ap05-NheVga4et_6h2w1A0VB@mail.gmail.com> (raw)
I use a python script which calls git svn clone based on a text file
built from the svn externals of the form
dir1 url1
dir2 url2
to create a git project. Each subdirectory of course will have its own
.git and point back to the original svn repository so that I can
change a particular subdirectory.
For example, I have dirn from urln/trunk built and I want to change it
to urln/branches/mybranch.
Is there a good way of doing this without deleting everything under it?
If I wipe out the dirn directory, I would wipe out the externals that
came in with urln and I would have to pick up all the entries that
follow. I do not want to pick up the external pointer from svn as I
might not actually be using all of those. I want to only bring in the
entries from the configuration file. Of course, it would be more
useful if someone has already done it.
The project that I am on would like to use python for this, but if
someone has already written something, the language would not matter.
--
Sabba - סבא הלל - Hillel
Hillel (Sabba) Markowitz | Said the fox to the fish, "Join me ashore"
SabbaHillel@gmail.com | The fish are the Jews, Torah is our water
http://sabbahillel.blogspot.com
reply other threads:[~2011-02-10 16:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=TsWQh95MgFCW6ap05-NheVga4et_6h2w1A0VB@mail.gmail.com' \
--to=sabbahillel@gmail.com \
--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.
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).