LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 12-31-2006, 05:32 PM   #1
mschrank99
LQ Newbie
 
Registered: Jun 2006
Posts: 20

Rep: Reputation: 0
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
 
Old 12-31-2006, 06:42 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
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".
 
Old 01-01-2007, 11:02 PM   #3
mschrank99
LQ Newbie
 
Registered: Jun 2006
Posts: 20

Original Poster
Rep: Reputation: 0
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
 
Old 01-01-2007, 11:26 PM   #4
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

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

Last edited by tuxdev; 01-01-2007 at 11:28 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use syanptic in fc 5 and how to add repo and which repo to be added.. vikas04522 Fedora 1 08-26-2006 12:41 PM
how to use syanptic in fc 5 and how to add repo in it and which repo is to be added.. vikas04522 Linux - Software 1 08-26-2006 12:29 PM
repo in dvds binary_dreamer Debian 4 05-11-2006 05:00 AM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM
How to install Subversion(Version Control with Subversion) under RedHat Linux. netkiller Linux - Networking 1 07-01-2004 05:45 AM


All times are GMT -5. The time now is 06:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration