Some of the developers on the project I work on have a habit of commenting their code to show which version of the product it was added for, e.g.
// added for superEnterpriseyWonder v2.5
string superMappingTag = MakeTag(extras);
if (superMappingTag.empty())
{
autoMapping = false;
}
// end added for superEnterpriseyWonder v2.5
Whe...
Is there a way to search for a file in a subversion repository?
Something similar to Unix' find command, with which I can find the location of a file in a repository.
I know there is svn list, but this gives me a list of all the files in a directory. I want to find the directory a file is in.
...
This question Refines:
Previous Question
A good solution was offered to automatically increase the revision number (not by random time values but incrementally) using this tool: Build Task tool given by user: @marc_s
The problem with this solution revealed - in a source-controlled environment - when you the files that are not locked -...
What is the best way to organize and develop a project composed of many small scripts sharing one (or more) larger Python libraries?
We have a bunch of programs in our repository that all use the same libraries stored in the same repository. So in other words, a layout like
trunk
libs
python
utilities
projects
...
I'm interested in knowing how revision-control systems do merging.
Suppose you have a file A. On one branch, file A is modified - call it file B. On another branch, file A is modified - call it file C:
B
/
A
\
C
When the second branch is merged into the first branch, I understand that a 3-way merge is performed between B, C, an...
I'm looking for a way to search a whole subversion server.
I already got a piece of the puzzle to search within a repository. Now I need to do this for every repository.
Update:
I have to access this list from some unix shell script (perl, bash, etc.)
...
I have my VCS set up to ignore "[project]/bin". Is this directory essential to restore a project, or can it safely be ignored?
...
I want to start using version control properly for my own personal projects written using Visual Studio 2008 Express Editions. I'm using both Visual C# Express Edition and Visual Web Developer Express Edition.
I'm almost always the only developer on these projects.
I've previously used Subversion with Windows Explorer integration prov...
Hi,
I new to source control, but i like the thought that i can step back to one point.
I read that only code that is ready for release should checked in the repository.
If I want to play a round a little bit with one piece of code, to try different things. I can't step back to e.g. variant number 2 of my play stuff. It's not in the re...
A subversion repository contains the html, latex and man directories that doxygen generates from the source code. Even for small source code changes, new files are being generated with random names which makes for large changes in the version control system.
Is there are way around this? How can I minimize the changesets between revis...
I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository directory and associated metadata:
svn co svn+ssh://[email protected]/path/to/repository
Several developers work on the same working copy that...
What were the reason for chosing Mercurial as a basis of FogCreek Kiln, a source control management system with tightly integrated code review, and FogBugz integration?
Why Mercurial, and not other (distributed) version control system, like Bazaar, Git or Monotone, or creating own version control system like Fossil (distributed software...
Is there an easy way to write C code that can access its Git version hash?
I wrote software in C to collect scientific data in a laboratory setting. My code records the data it collects in a .yaml file for later analysis. My experiments change from day-to-day and I often have to modify the code. To keep track of revisions, I use a git...
I am currently working on a PXE bootable environment that I would like to put into revision control.
The filesystem and server will both be Linux (SLES if you must know).
I've considered using some kind of hack that stores file ownership/permissions via getfacl -R -P, but this doesn't cover symlinks or devices. And it's kind of ugly.
...
I am working in a team of 5. We are working on a C# application with 5 csprojects.
The problem is that for each csproject, each of my colleagues has their own ideas on how to reference a dll; some would like to link in by Project reference, other would like to link in the DLL only. So each and everyone of us will have our own csproject...
I am aware of Notify extension by Mercurial, but it always notify on any push action. What I want is that a notification only when a certain branch (say, "stable") is updated because I need others to take action when this happens.
What's the easiest way to achieve this functionality?
...
I'm working on a project by myself at work and I know eventually it will need to be stored in our SVN. My question is what do I do to store it in SVN if I'm starting from scratch? Do I only commit stable complete builds or commit when I feel a certain module reaches a certain milestone?
...
Hi all..
I've met quite a few people lately who says that 3rd party libraries doesn't belong in version control. These people haven't been able to explain to me why they shouldn't yet, so I hoped you guys could come to my rescue :)
Personally, I think that when I check the trunk of a project out, it should just work - No need to go to ...
We still use CVS, I use git and hg for my personal use though I'm still a novice at both, but I realize they're much more modern and better, faster, distributed, etc.
It's just everyone is so accustomed to CVS that I feel a whole slew of issues could arise if I were to be the one that recommended and actually did the upgrading/porting/t...
I always find myself close to useless without my laptop. It has all the things I need, firefox, notpad++, photoshop, documents, etc... However, occasionally, I like to code on my desktop because it's faster and better, but sometimes it's just impossible unless I transfer the website files to my desktop or keep my FTP updated. I know ther...