[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Managing a small number of changes for foreign code?

From: Scott Gifford <sgifford_at_suspectclass.com>
Date: Mon, 25 May 2009 14:07:01 -0400

Aaron Zeckoski <azeckoski_at_vt.edu> writes:

> I want to manage a small number of changes to a large chunk of code
> (PHP) from an external project such that when I commit I am only
> committing the stuff I added or changed and not the rest of the
> code. The original code is not located in an SVN repository and
> license stuff means I cannot really put it in into my repository
> either. Is there any way to manage this? (if this is documented
> somewhere then please just send along the link)

I managed this for awhile by keeping a "patches" directory in SVN.
Whenever I changed something in the original, I would generate a patch
with diff, then update that diff in SVN.

That worked OK, but quickly got very tedious and error-prone. I
switched to the vendor branch approach, and it worked much better.
You might want to look closely at your license agreement and see if
this is truly prohibited; it seems strange that a license that allows
you to use and modify the code would prevent you from managing it in a
version control system. Even if it does, the licensing problem may
prove easier to solve than the technical one.

Good luck!

-----Scott.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2353612

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-25 20:07:58 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.