473,387 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

subversion diff and merge two sepearte respositories

Niheel
2,460 Expert Mod 2GB
I have two seperate repositories of one project, one's a copy of a production version of the project and one's a copy of the development version of the product.

What is the best way to diff both versions, and then merge them into one repository?

I am using a local VisualSVN server with Netbeans on a Vista system.
Beginner skill level on both netbeans and svn.
Jan 23 '10 #1
2 2336
chaarmann
785 Expert 512MB
You can make a parameter file and put in version=development or version=production. Then you need only a single repository and your code looks like "if version=production then do this else do that".
But if the source code is really different (2 different lines instead of if-else-construct) then it's best to use 2 repositories (I mean 2 trunks). If you make a new feature, then do it as a branch and merge this branch back into both trunks.
Or you can have 3 trunks. One with the "common" code, one with the development-specific code and one with the production-specific code. And then you merge 2 trunks of the code everytime before starting to work, but I wouldn't recommend that. My recommendation is the parameter file.
Feb 8 '10 #2
Niheel
2,460 Expert Mod 2GB
Thanks chaarman, i think we will go with go with two trunk approach for the time being. When we get time, will merge everything into one.
Feb 13 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Guillaume Lahitette | last post by:
Hello everyone, I am looking for a lightweight Java Applet to diff and merge two text files. The functionality would be a subset of what WinMerge (http://winmerge.sourceforge.net) offers: -...
1
by: Arthur Chereau | last post by:
Hi, I'm trying to setup viewcvs to work with subversion 1.2.0 on Linux with Python 2.4.1. The last viewcvs (from CVS) needs subversion python bindings. I installed swig and built subversion from...
2
by: Butter Scotch | last post by:
Hi folks, I'm looking for a good XML diff utility. Does anybody have any that you can recommend? thanks! -Yasutaka
2
by: nickdu | last post by:
Is there a tool that will merge XML documents? We also need the reverse, we need to be able to create a Diff of two documents. What we're trying to do is just store differences of documents at...
4
by: Andreas Kasparek | last post by:
Hola! I'm preparing my master thesis about a XML Merge Tool implementation and was wondering if there is any open standard for XML diff regarding topics like: - is a diff result computed on...
0
by: brian.f.oneil | last post by:
Is there any functionality in a DataSet for doing a "Diff" with another DataSet? I want to perform the opposite of "Merge" i.e. If a matching row exists in DataSet B, remove it from DataSet A....
1
by: axs221 | last post by:
My company I work for uses VBA for Access to program one of our projects. We just now set up the Subversion version control system for our various projects. It works great for our VB6 and .NET...
1
by: earthwormgaz | last post by:
Is there anything in Boost (or elsewhere if needs be) that will allow me to diff/merge files? I am writing out a data file, and I want to merge it with an existing on if its there.
1
by: Andy Fish | last post by:
hi, I am looking for a library (i.e. not a standalone GUI program) that can do diff and merge of HTML or XML, preferably in C# or at least that can be called from C# anyone know of such a...
0
nathj
by: nathj | last post by:
Hi, While I know this is not strictly a Java issue I thought this would be the place to post as I know a lot of Java developers use Eclipse and most likely use SVN and Subclipse. First up...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.