RFI: Incremental Patch Submission with TortoiseSVN

I've submitted patches to open source projects using TortoiseSVN.  Pretty straight forward once you get the hang of it.  Two problems though:

First, I update to the trunk, write some code to add a new feature, create and submit a patch.  Life is good.  I then proceed to add a second feature before the first feature has been reviewed and committed.  How can I create a patch that is independent of the first patch?  What if the first patch is rejected or the second patch is for whatever reason applied before the first one I submitted?  This wouldn't really be a problem unless both patches affect the same files.  And when adding new .cs files, the project file will always be affected.  Does anyone have any suggestions to help with this scenario or is this just a fact of life?

Second, I submit the patch, it is accepted and committed.  When I then update (using 'SVN Update' from the Explorer context menu) to the trunk I always get conflicts saying that the new file already exists or is marked for 'Add'.  Am I mis-using TortoiseSVN?  I end up having to delete the files that were part of the patch, then re-updating for the files to correct themselves.

Thoughts or suggestions are most appreciated.

posted @ Tuesday, December 11, 2007 9:35 PM


Print

Comments on this entry:

# re: RFI: Incremental Patch Submission with TortoiseSVN

Left by Jeffrey Palermo at 12/11/2007 10:45 PM
Gravatar

I've used separate working copies for patch submissions. It avoids the conflicts.

# re: RFI: Incremental Patch Submission with TortoiseSVN

Left by Bob Archer at 12/12/2007 9:23 AM
Gravatar

I suspect after you create a patch you will need to re-vert your working copy. This way, once the patch is accepted and you update from trunk you won't have conflicts with your patch. This way you can also start working on a second patch from a clean trunk update.

BOb

# re: RFI: Incremental Patch Submission with TortoiseSVN

Left by Josh Robb at 12/15/2007 2:56 PM
Gravatar

It's coming in SVN 1.5.

http://svn.collab.net/repos/svn/trunk/notes/changelist-design.txt

j.

Your comment:



 (will not be displayed)


 
 
 
Please add 3 and 2 and type the answer here:
 

Live Comment Preview:

 
«August»
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456