version-control

How do I go about splitting Lisp code into multiple source files?

Right now, everything I do manages to fit in a single source file, and a surprisingly small one at that. How do you decide how much and what to split off into separate files? With Java, it's easy to decide what goes in one file (the decision is made for you already), but in Lisp I find I write many small functions that build on one ano...

Good TFS Hosting Provider

I'm looking for a good 3rd party host for Team Foundation Server. Have any of you had good or bad experiences in the past? Will be working on a small .NET project with several other guys in different locations. Are there any performance problems or any other "gotchas" with 3rd party hosting? ...

Open source examples of well written SCM web interface in Perl

Can anyone point me to some good Open Source web interface for VCS (version control system) written in Perl? Something well written, so I can examine the code and steal the best parts (or organization) for gitweb. Preferably something without tons of external dependences not available in (extended) Perl core. ...

Subversion project structure?

When creating projects for subversion should each individual project contain its own trunk, branches and tags directories? eg. MyProject 1 - branches - tags - trunk MyProject 2 - branches - tags - trunk etc... OR should each project itself go inside an all-encompassing structure? eg. branches tags trunk - MyProject 1 -...

Subversion - How do I commit? I updated one of my project directories to a previous revision

First, I used "update to revision" to update one of my directories to an old revision because we had to undo some changes. However, when I go to commit now, It is stating that items of my project are out of date and that I should try updating. However, I really don't want my current files to be replaced by any "newer" files in the rev...

Source control for Visual Studio that doesn't require a server?

Can anyone recommend a source control solution for Visual Studio? I am going to be the only person using it, I just need something to back up my data every so often or before I undertake a big change in the software. I tried AnkhSVN, but this requires an SVN server. Is there anything that can be used locally that takes the pain out of co...

.NET: Large revision numbers in AssemblyVersionAttribute

We have the convention of versioning our builds as [major].[minor].[micro].[revision], e.g. 2.1.2.33546. Our build-script automatically updates an AssemblyInfo.cs file containing [assembly: AssemblyVersion("x.y.z.w")] in order to embed the version-number in the assembly. But our Subversion-repository just reached revision #65535, w...

Basic SVN Usage

Preface Let me start off by saying that I'm a relatively new programmer and I have no prior experience with source control -- although after some reading, the concepts and general lingo are not alien to me. Background I'm about to start my first professional project (I'll be the only one committing) and I'd like to take this opportu...

Looking for industry numbers on source code management

I'm looking for statistics on SCM usage, in particular I'm trying to find out what percentage of their time developers spend on SCM-related tasks. The more detailed the breakdown, the better. Online and offline resources would both be tremendously useful to me. Can anyone point me towards some industry studies? Preferably recent ones? ...

Managing local forks of Maven dependencies

So I have a dependency, actually two dependencies to which I'd like to make changes either right now like fixing JBSEAM-3424 or potentially in the future. The coding is not an issue - I'm capable of making the change - and I'm not seeking to fork the community project, just to have a local version as recommended by Will Hartung to get so...

Seeing what revision goes with a tag in Git

Beginner Git question: In the Mercurial world, "hg tags" gives me a list of tags and the corresponding revisions, whereas "git tag" only lists the tag names. How do I see what the matching rev number/hash is? ...

Managing Custom Client Releases

As an alternative to this question what is the best way to manage custom versions of software for a particular client? Most of the differences between client releases is changes to the user interface to customize the software to look like it is owned by the client. More often then not, this is a simple logo change. Occasionaly the color...

How to setup a git repository where different users can only see certain parts?

How do you setup a git repository where some users can see certain parts of the source code and other users can see all of it? I've seen lots of guides for only giving certain users commit access, but these assume everyone should have read access. I've also heard of gitosis, but I'm not sure it supports this and it hasn't had any commits...

What Check-In Policies should be considered for version control?

I'm tasked with helping to set up the process templates and check-in policies for my company's TFS 2008 installation. Aside from three check-in policies (a check-in action must have comments against it, a code file must be peer-reviewed, there must be a work item associated with a check-in), I have been asked to consider and implement a...

Version Control of FTP Directory

I'm a web developer and I often have to work with designers with whom I share clients. These designers usually are using Dreamweaver or just plain FTP to work on their portion of the project. Internally I use version control (SVN) for any project that does not require collaboration with other designers/companies. I would like to get to a...

Does Git treat add/remove as a rename?

This may be more appropriate as an issue in whatever issue tracker/forum Git uses, but I thought I'd get an SO confirmation/explanation first: I have a repo tracking a bunch of installer executables. Let's say foo-1.0.exe is already in the repo. I now add foo-2.0.exe in the same directory (git add foo-2.0.exe). Next, I remove foo-1.0...

Making a tag into the new trunk in Subversion

We have a situation where we need to take a tag of our project and make it the new trunk. We have taken the existing trunk and made it into a separate branch. My question is this - once we made a branch of the trunk, can we just delete the trunk and then copy the tag in question into the trunk? Is there a safer way of doing it? Any ...

How can I git-cvsimport multiple modules from a CVS repository, with differing branches?

I'm trying to git-cvsimport several different modules from CVS, all of which are on different branches. So far I've done this (in pseudo-bash code): for each ($MODULE, $BRANCH); do git-cvsimport -p x -v -d "$CVS_REPO" "$MODULE" -o "$BRANCH" -C "$MODULE" done But that makes a different git repository for each module. How would I m...

What constitutes a valid SCM message?

I’m currently writing some hooks for a new SVN instance and I’d like some feedback on what criteria people believe should be applied to verify the commit message is sufficient. This particular SVN instance will be used by a broad range of developers with varying knowledge of SCM best practices. I’m trying to strike a good balance betwee...

How do I configure tortoisehg to show copied files in the log (i.e. use the hg "-C" option)?

I think the title says it all - I want to easily tell which files where renamed when looking at the changelog using the tortoisehg UI. The out-of-the-box config only shows that a file was added/removed (i.e. the standard hg log message without the -C option). ...