Modify 3rd party code in subversion

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-05-04T12:33:35Z Indexed on 2010/05/04 12:48 UTC
Read the original article Hit count: 317

Filed under:
|
|
|

I use a script for my homepage but I'd like to localize it. Furthermore the CSS uses images from a special folder which does not fit to my folder hierarchy. Because I don't want to adopt these paths and settings I'll have to modify the original sources.

Currently my repository looks like this:

  • /3rdParty
    • /CompanyA
      • /CompanyAProduct1
        • /v1_0
        • /v1_1
  • /MyProductA
    • /branches
    • /tags
    • /trunk
      • /import
      • /export
      • /source

Via svn:externals I map all stuff I need (lib, dll, or code) into the import folder. Now I'd like to modify the files in the import folder but this will modify the original sources, too (as far as I know). What is the best solution to have the modified version in my import folder but the original sources remain unaffected? Should I make a branch of the 3rd party code? But then I have to update the original sources for every new release. Thanks!

© Stack Overflow or respective owner

Related posts about svn

Related posts about 3rd-party