LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Subversion Help- applying changes in one repo to another (https://www.linuxquestions.org/questions/programming-9/subversion-help-applying-changes-in-one-repo-to-another-515236/)

mschrank99 12-31-2006 05:32 PM

Subversion Help- applying changes in one repo to another
 
I have two repos, one called "work" for development, and another called "public" for public viewing. The idea is to make all changes on "work", and then when they have been tested, push them to "public".

Does anyone know what svn command I should use to do this? Keep in mind I don't want to copy the whole repository, just update the changed files on work to the public repo.

Thanks,

Matthew

tuxdev 12-31-2006 06:42 PM

1. svn diff + patch
2. svn merge

I'm not sure what you are exactly getting at, though. It sounds like you are using "repository" to mean "checkout".

mschrank99 01-01-2007 11:02 PM

Let's say I have two 'checkouts' with three files each.

FileA.html
FileB.html
FileC.html

I work on FileB.html, but I leave A and C alone. I want to copy the new FileB to the public checkout while leaving the others alone because I didn't work on them.

Thanks

tuxdev 01-01-2007 11:26 PM

Then check in that file and then update for the public? "svn ci FileB.html" "svn up"


All times are GMT -5. The time now is 04:48 PM.