[josm-dev] Best use of SVN and Local Repository

Shaun McDonald shaun at shaunmcdonald.me.uk
Mon Jun 9 14:45:21 BST 2008


Hi,

An svn update, will update the source, merging any changes that have  
happened. If there are any conflicts these will be highlighted, and  
you will have to resolve these before you can use the source code.

I would recommend reading
http://svnbook.red-bean.com/en/1.1/ch03s05.html

Shaun
On 9 Jun 2008, at 11:57, Stuart wrote:

> Hi,
>
> I'm looking for advice on how to keep my local JOSM Repository up to  
> date while developing my own little projects.
>
> E.g. I created JOSMRepository and imported the josm trunc files into  
> it in March. Since then I've updated 5 files with some minor  
> modifications (just playing around nothing useful for the JOSM  
> project). I would now like to update my repository with the latest  
> josm files but need to do this in a sensible way such that my  
> updated files will be highlighted as requiring Merge or similar. I  
> suspect there are many ways to do this including brute force (Update  
> Repository from josm trunk / Check out files to working folder / by  
> hand sort out my files from either previous revisions or a copied  
> folder) but this lacks elegance and needs me to keep a list of the  
> files etc. I need a proper process (easy with 5 files but error  
> prone with lots).
>
> Ideally, there would be some mechanism whereby the Update into my  
> local repository would automatically detect any files that I've  
> subsequently Checked In (perhaps by date that I enter somewhere) and  
> allow me to Merge my changes into the Updated code. Or I Update the  
> local repository (overwriting my changes) and then do a Merge from  
> my Working Copy folder of the entire project such that SVN is clever  
> enough to simply Check Out the JOSM updated files (since March) and  
> highlight the conflicts due to the changes I have made to enable me  
> to do the Merge on those few files I've modified. Hopefully all in a  
> manner where the History of my changes is maintained.
>
> I'm using Netbeans with SVN built in and TortoiseSVN. Not quite up  
> to speed on all SVN lingo/concepts so need a bit of hand holding. I  
> suspect most developers have this issue but haven't found any  
> pointers on nabble etc.
>
>
> Cheers
>
> Stuart
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/josm-dev





More information about the josm-dev mailing list