Questions tagged [svn]
SVN is short for "Subversion" and is an open source version control system
226
questions
0
votes
3
answers
148
views
Merging Python2.7 code to its ported Python3.9 version
I am working on a Django based project that is version controlled with SVN. My main objective is porting it from Python2.7 to Python3.9. Whilst I port the project, my team brought some updates, now I ...
-1
votes
1
answer
97
views
Version control organization for large .NET solutions
I'm trying to come up with a better way to organize my C# projects on SVN. The .NET solution for my main GUI has about 28 class library projects. These libraries fall into two categories. Some of them ...
9
votes
2
answers
693
views
Disadvantages for having completely different codebases in different git branches
One senior member of my team setup a new git repository for our product we are working on, since we are migrating from SVN to git. Our product consists of different software components that are ...
2
votes
2
answers
821
views
Migrate an SVN repository (that was previously the merge of 2 repositories) to Git while retaining history
Background
I am trying to migrate an SVN repository that was formerly 2 svn repositories (but within the same svn server, so sharing commit numbers), which was then combined.
So initial state (two ...
2
votes
2
answers
396
views
Who is the potential audience of a commit message?
I've been taking a course on plain language writing, in order to make my commit messages more readable and understandable.
One of the main ideas in plain language writing is that your first identify ...
0
votes
1
answer
74
views
SVN - Using branch for beta release of game and advise for repository layout?
I'm setting up the SVN repository for my hobby game project.
I have the main version of the game and a beta version. The game is already online with a few players.
The beta version is isolated from ...
1
vote
2
answers
269
views
Managing the same files in four separate SVN repositories
We have four repositories in SVN, in which most of the files are same in all four of them. The reason why we are using four different repositories is, we have four different software products which ...
29
votes
7
answers
10k
views
Is my company merging branches wrong?
I recently came across an MSDN article about branching and merging and SCM: Branching and Merging Primer - Chris Birmele.
In the article they say 'big bang merge' is a merging antipattern:
Big ...
3
votes
1
answer
227
views
Git structure for multi platform projects
Currently I use SVN for my project and the structure looks like this:
trunk/SharedLibrary/
trunk/platform/wordpress/ <- platform base directory
trunk/platform/wordpress/SharedLibrary <- ...
2
votes
1
answer
98
views
How to version control a fragmented codebase until it is properly merged?
My team has a mix of software developers and scientists, and version control has been messy in the past. We're trying to do better, which leads me to ask this question.
We have a central codebase for ...
3
votes
1
answer
736
views
How to manage same source code for different country in SVN?
as per my current requirement. I would like to maintain common source code for different country releases.
Below are the cases which are required to be covered in the new process of code manage.
...
2
votes
3
answers
225
views
Git project organization
My company currently has SVN as main version control and we are in process of migrating to Git. Doing that is a perfect chance to do a structure reorganization.
Before I get to that let me describe ...
8
votes
3
answers
586
views
Is it a good idea to lock svn
I have to define the new way of working for a development team which goes from a one man unit, to a distributed team with programmers al over the world. The team will work with svn. This is a non-...
3
votes
1
answer
124
views
Would This Workflow Work For a Distributed Team With CI/CD
Because the reaction of @DanCornilescu I understood that my question was not clear. That is why I edited the question heavily.
I was brought in on a project where there was only one developer. All ...
1
vote
2
answers
97
views
SVN / Git How to administer branches
I'm the technical lead for a small company (6 developers). We currently use SVN and we're slowly porting over to Git, after everyone gets their training.
Currently our clients are the ones who "pull ...
2
votes
1
answer
176
views
Functional tests for SVN management script
I have a Python script which is responsible for updating SVN repository (in a nutshell) and checking it.
Now I'd like to write some functional tests for the script. To check whether SVN update has ...
6
votes
2
answers
1k
views
Converting a very large remote subversion repository to a slimmed down Git repository
I have the pleasure of taking over 14 year old subversion repository that consists of two key elements:
111,000 revisions, about 10% of which are substantial;
The repository dump is about 73 GB, ...
-1
votes
2
answers
158
views
Solutions for preventing build breakage
Some background to my question: We have a traditionally windows-only C++ code-base which we are in the process of porting to linux. Parts of the system have been running on linux for many years, but ...
4
votes
3
answers
436
views
Same dev env setup across multiple machines - aka fixing "but it worked on my machine"
Community,
as our software and development team grows, we ran into multiple problems:
Multiple Config files with different paths for each machine
"Do I need this tool? And what version, I don't have ...
-3
votes
2
answers
257
views
Repo management using Git or SVN
We have several ongoing projects and need to figure out the way to manage the repos.
The current situation is Project A is in production, in a SVN Repo A. Project B is in development for another ...
112
votes
14
answers
19k
views
How can I maintain code quality without SCM?
I am working in a governmental institution. The technology being used here and the methods for developing software are quite old fashioned.
They have tons of storage space but no appropriate space ...
0
votes
3
answers
516
views
Git workflow organisation in small teams
I'm working in a team of about 15 people and we're currently in the process of switching from svn to git and establishing a new workflow with git.
I decided to use gitflow as our new workflow because ...
0
votes
1
answer
1k
views
How to properly develop in different SVN branches with Eclipse IDE?
I recently got into a slight argument with the other developer on my team about the correct way to develop with SVN and Eclipse. My way of developing in multiple branches is by creating new workspaces ...
4
votes
3
answers
539
views
Switching from SVN to Git - help needed
I'm a software developer recently in charge of entire project (project manager). The project I'm working on (with 6 other persons) is a complex Java-based application that's being developed for over 5 ...
0
votes
1
answer
364
views
How to provide Java libraries internally?
In my small team we write applications that run as a Jenkins job and using the SOAP API of our Bug Tracker, our ALM software. They are accessed with Java however I think developers using other ...
54
votes
7
answers
9k
views
Is it bad practice to not delete redundant files right away from VCS but instead mark them as "To be deleted" with comments first?
I wanted to know if the way I deal with source files that need to be deleted from version control could be regarded as bad practice.
I want to explain it to you based on that example:
I recently ...
5
votes
1
answer
2k
views
Branching a subdirectory while keeping commits from other directories
I currently have a single pre-existing Git repo for a client/server solution that contains three subdirectories for 3 sub-projects:
/client - An Angular2 SPA application (client-side TypeScript)
/...
2
votes
1
answer
311
views
Version control with delta processing uploads?
I am planning to build a version control system to learn some advanced programming concepts in the process.
I've used git , perforce and svn.
I was wondering if any of them or other uses delta ...
1
vote
2
answers
110
views
Avoid wrong variable on branch commit
Our frontend web software contains, inside a file called url.js a variable used as URL root for REST webservices.
var url = "https://devappserver:8080";
During development on developer PC, for ...
7
votes
2
answers
588
views
How to treat in-house libraries
I am facing problems structuring projects and libraries.
In the company I am working for I often see, that things would be more maintainable and less error prone, if we could extract common code and ...
0
votes
2
answers
263
views
Migration from SVN to Git. Multiple depedant projects for Continous Integration
I'm in charge of switching our 10+ years old code base from SVN to Git. Currently we have one single monolithic repository containing all of our projects. We have shared libraries and multiple ...
4
votes
1
answer
583
views
Branching strategy for moving feature branch between versions
At my workplace, we use an SVN repository for the source code, which holds the main application and some other projects, and for the main application it is structured like this:
- trunk
- app
- ...
28
votes
8
answers
10k
views
Git - What issues arise from working directly on master?
I have seen lots of advice about git branching models and the most common opinion seems to be that making changes directly on the master branch is a bad idea.
One of our co-workers is quite happy ...
1
vote
1
answer
267
views
SVN - Branch merge process
We use SVN for our version control and have a trunk for minor changes and a branch for more significant changes and also for the devs to be able to work off the same code base.
We regularly do trunk ...
0
votes
1
answer
341
views
Automatic Resolution in SVN for CSV File
Situation
We are a large team of developers, using SVN for source control on our project. One of our files, FileTracker.cvs, is very large: it contains metadata about almost every file in our repo. ...
3
votes
1
answer
451
views
SVN best practices - different code logic in branches
While working with one project I was assigned to, I noticed a small problem with our SVN strategy. A few months ago, someone created a new feature branch from our trunk. In this branch he implemented ...
-3
votes
1
answer
186
views
Version control problem
I heavily use Excel and CSV at my workplace.
File 0 Excel File
The initial file is an Excel file. Let's call this File 0. This may or may not change with time depending upon the requirement of the ...
4
votes
1
answer
192
views
How bad of an idea is it to alter a file in a pre- or post-commit hook?
My team is using SVN to store a lot more than just source code - we are storing all kinds of files. A process I'm working on designing is used to generate diff reports whenever a certain Excel ...
2
votes
3
answers
2k
views
Is there a way to comment a source file using a separate file?
I'm using a large and complex library including R and C++ code, available online via a subversion repository. Trying to figure out how it works I took a bunch of notes in the source code itself, in ...
0
votes
1
answer
173
views
Tracking number of code lines added/removed by me
I do like to write code, but what I like even more is to remove code! Following the mantra "code that does not exist cannot have bugs", if we can accomplish the same result with less code, we will ...
-2
votes
1
answer
593
views
Repository UUID equivalent
I am converting an old Subversion repository to Git. Here is an example:
$ svn info http://alfa.com/bravo/charlie
Path: charlie
URL: http://alfa.com/bravo/charlie
Relative URL: ^/charlie
Repository ...
2
votes
1
answer
711
views
Suggestions: Good format for short/commit messages for User Story and Sub tasks
I would like your opinion regarding a good style/format for short messages when committing into a repository (GIT or SVN).
Considering we are using a feature branch development approach, with one ...
12
votes
5
answers
3k
views
Should we use a monorepo?
My team is planning a migration from subversion to git. We support 3 applications... 1 is primarily for internal users, 1 is for corporate "partners" and 1 is for end users. These applications share ...
10
votes
1
answer
1k
views
Merge bug fixes from trunk in old branches
We are now in the process of switching from svn to git (after a year spent on convincing people, yay!) in my company.
So far, this is all for the better but there is one little thing that we ...
-2
votes
2
answers
602
views
If you decide that branching is a bad thing, then why use Git over SVN? [closed]
I have used Git and Mercurial a bit over the past ten years and appreciate and prefer them, but most of my experience is with SVN. If it is decided within a corporate programming group that branching ...
12
votes
2
answers
309
views
Workflow, editing things not in your current task
Usually when I program, I have a clear task ahead of me, but find annoying things I'd like to clean up as I go on.
Here I see three options:
Do it later (may forgot/have to spend time adding a ...
5
votes
0
answers
193
views
Restructuring SVN repo for migrating to git [duplicate]
We currently have a SVN repo structured like so
/trunk/library/libA
/libB
/libC
.
.
/trunk/tools/toolA
/toolB
.
...
0
votes
0
answers
95
views
Is there value is putting test/build outputs under source control?
My colleagues insist on ploughing every bit of output data they can into subversion. I can't see the value in this practice and would much rather use a file system. The key offenders are build and ...
9
votes
1
answer
2k
views
Version control of a website : dev/production front-end files
I'm trying to think of a better way to version control our website projects. Keep in mind I'm only a front-end dev so I don't have a profound knowledge of VCS.
Workflows are changing, and past ...
0
votes
1
answer
269
views
How do I bundle library files for use in branches?
I work at a company which has it's source code managed using subversion. Our code base is huge (800MB) but we want to work with branching. For what I noticed is that when branching, SVN just ...