Can you include a SVN checkout in another?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Can you include a SVN checkout in another?

Post by RobertGonzalez »

I have a project I am developing and would like to include Swiftmailer in it as the mail handler. I have a SVN repo for my project, and I would like to be able to use the Swift SVN checkout inside this working copy, then when I commit my changes, have Swift go along with the commits to my repo instead of the Swift repo. Is this possible?

I have no idea what term I would even search for, and have to find anything about checking out a working from a repo into a current working copy from another repo for committing to the main working copy repo.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

I had a really hard time getting externals to work properly. I kept messing up one little detail that would result in at least an hour of trying to undo what I did just to get back to where I started (I was whining about this in ole's thread about code reuse I believe). I eventually got it working, but it sure was a pain. Am I just not understanding something or are externals a royal pain?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Yeah, I can relate to your pain. My first run at it was less than a success to say the least. This is what I did...

I created an unversioned directory called Plugin.
I then created an unversioned directory inside of Plugin called Swiftmailer.
I svn:checkout Swift-URL into Swiftmailer.
I attempted to svn:add Plugin, but it failed since Swiftmailer is already under version control (the Swift SVN).
I left off with trying to add the svn:externals property to Swiftmailer, but I have no idea what value to use.

I am confused.
Post Reply