version-control

DLL references when using TFS 2010

I am new to using TFS 2010 and was wondering the best way to add references (.e.g. AjaxControlToolKit, etc) to projects that I have added to TFS source control. Would having the references be pointed to a shared folder on the network and being pulled from there be good solution? or is there a better way to achieve such things. I have o...

Gateway time out in Mercurial

When using mercurial to commit, I first get this error files over 10MB may cause memory and performance problems and then when finally try to push , I get a a gateway timeout >hg push http authorization required realm: Bitbucket.org HTTP user: kunjaan password: pushing to * searching for changes abort: HTTP Error 504: Gateway Time-ou...

Should the WEB-INF/lib directory be versioned by a version control system?

Should the WEB-INF/lib directory and it's contents be versioned by a VCS? ...

svn export and read only folders and files

When I use the svn export command, the folder structure is readonly (both folders and files). Is there a flag to tell it to export without read only flag? Here's the command I am currently using: svn export --force "MySvnCheckoutDir" "PathToMyLocalDir" Any help is appreciated ...

What is everyone's take on "documentary" (i.e. not functional) comments?

So we have fancy version control systems these days where we can comment on changes made to code. Is it any longer relevant to put similar "documentary" comments in your code? For example, in a file called Helper.cs: /* * Filename: Helper.cs * Author: Will Johansson * Created: 7/1/2010 * Purpose: Internal helper functionality for XY...

Why should I use version control if I'm working alone and already back up regularly?

I'm working on a project: Just me, no collaboration/source code sharing I'm already backing my code up regularly, and I can use Dropbox to restore mistakes What advantages do I get from setting up a git repository (or something else) for my project? ...

Version Control soft that will keep ALL files and their metadata from POSIX FS (ext3/ext4)

Hi, all. THE SCENARIO I'm developing a Root FS for some embedded Linux device. It is sitting on the host, exported via NFS and my development board mounts is under "/". The workflows that I need are: - to share my FS to other developers(they have with their own dev. boards) - to backup my Root FS onto some "server" - to deploy my Root ...

Very easy version-control for non-technical customers

We've developed a system which involves the customer using a tool to create their own content, saved as XML. Predictably they are storing versions in a myriad of folders and renaming files, etc. And predictably they've already lost work at least once. We're not responsible for the content they create but it would be nice to help them ou...

How to use replication in combination with version control system ?

The situation is as follow : Our company works two main production sites, communicating via WAN. We develop a software internally which uses about 100Gb of disk space on our servers (application data deployed to our customers with a lot of images). In order in improve performance, our network administrators choosed DFS replication (ever...

Mercurial ignore part of a directory

Been fighting with Mercurial's .hgignore for a while under Windows. I have a folder named Upload which is currently empty. I do want it tracked so I added a .empty file in it which work fine. I want this so that new developers doing an hg clone get the Upload document required for the application. Thing is I never want the folder to ...

SVN 1.4 Merge, revisions not appearing in log

I'm using SVN 1.4.2 and I branched at revision R, merged in the revisions from R-HEAD, and now when I look at the log on the branch, I only see revisions up to R, none between R and HEAD. Is it possible to get this information? I am using TortoiseSVN 1.6, which is based on SVNClient 1.6.12. I did not have the "Only record the merge (blo...

asp.net big applications, several developers and manage changes of web.config file

Hi Guys, The problem - a big asp.net applications (libs, frameworks, models, everything inside) having web.config file and several developers work on this project. How to make the same "core" shared between all of them, so they don't change the core, but only change the user-specific values that never comes back into code (mercurial) re...

What is the right way to structure a large multi-application codebase in SVN

We've currently got a single repo with codesion, http://John.svn.cvsdude.com, with a single SVN project http://John.svn.cvsdude.com/MyProject, which contains a few subdirs for individual Visual C++ solutions This all started as one application and though we did split off separate library projects for future re-use, it's still all the sa...

Missing import function SCM in Xcode?

Hello, I've followed this link: http://stackoverflow.com/questions/3852986/how-to-set-up-an-scm-in-xcode However when opening the window to import the repository I have only the repository bar and no import features. I have also run the command line 'svnadmin verify [my svn directory]' as well as seeing the green light in the configur...

What is the best practice for safely change a method name in a team project?

I often get scary whenever I need to rename a method since it's very likely to break other working codes. What is the best guidance to follow when doing this? ...

Half-ignored files in VCS - is this supported?

I am using Eclipse and Subversion for Java development, and I find myself wishing for a feature in version control systems (one that is not available in SVN, to the best of my knowledge). I would like my project settings files to be half-ignored. To be more precise, I want them to be available in VCS, I want merge to occur when someone ...

Git: move existing repository from PC to server, clone from server

I have an existing Git repository on my local machine. I would like to move that repository to my web server, then git clone on my local machine to check out my repository from the server. I'm planning on then developing on my local machine and pushing updates back to the server. I can ssh from my local machine to the server, but not ...

How do I make a Git commit in the past?

I'm converting everything over to Git for my own personal use and I found some old versions of a file already in the repository. How do I commit it to the history in the correct order according the the file's "date modified" so I have an accurate history of the file? I was told something like this would work: git filter-branch --env-...

Putting .vimrc in vimfiles directory

I want to keep my Vim and Emacs configurations under version control, but I don't want my entire home folder there (or rather, I do, but there should be 3 separate repositories). With Emacs it's easy; if ~/.emacs doesn't exist, then ~/.emacs.d/init.el is used as the init file. So I can have a separate Git repo in ~/.emacs.d/. With Vim, i...

Subversion on a shared development server

I'm thinking about implementing source control at my work. Ideally, I wanted to use Subversion since it seems to be the tool of choice at the moment. However, I seem to have hit a brick wall since it just isn't practical for all our developers to work in local environments. We do web development with Coldfusion and use a shared develo...