version-control

Using git underneath a perforce repository - an easy way to notify perforce of changes?

So, I've been driven nuts enough by Perforce I'm now attempting to use a git repo beneath the covers. My question is this: When I'm futzing around with the files via my git repo, is there an easy/automatic way for me to keep track of these in perforce? I've looked into git hooks, and there doesn't seem to be one that when I commit a...

In search of opinions on web based version control systems

Hi. Researching various open source, web-based document management/version control systems. I've checked google/questions here, etc... I'm looking for a lightweight web-based (apache) document mgmt/version control app that runs on top of SVN. I need to have the ability to: have multiple users checkin/checkout have a workflow (when u...

Coder collaboration best practices using Git

Hello everyone. I'm having some troubles in understanding Git team-working principles. Consider a team of two programmers: A and B. They are working on a Project. Also, there is a remote server with a repo on it. A and B are collaborating remotely. There are some code in the repo already. I have a favour to ask you for help on organi...

Suggestions for an Oracle version control system

At work we are using Oracle (ick) for the database of a client (this is a migration from a previous company's project, so the database was set in stone, unfortunately). This has not caused any major headaches (save from the usual Oracle vs. MSSQL stuff), until now: We're at a point where five seperate developers are developing five seper...

How can I have a post-commit hook that is only called when commits are made to TRUNK?

I have a repository that has the following directories: branches tags trunk The trunk directory contains the main line of development. I have created a post-commit hook script for the repository that updates a working copy (of trunk) when a user commits back to repository. It looks something like this: /usr/bin/svn update /path/to/...

Version control implementation advices (SVN)

In my company, we are going to reimplement version control for our code base.(Now we have small groups of developers, all with their own VSS version control per project). We choose Subversion as our version control platform. Where can i find some Best practices for implementing version control in company(how to organize repositories, wh...

Where to store Delphi code in windows 7?

I just noticed that some of my new Delphi controls get installed in the Public Documents folder in windows 7 (TMS Smooth controls and Virtual Treeview). Is there a reason for this, is this a convention or a few way of doing things or something that the operating system does. Is there a place where I can set the root of my Source con...

Is there a way to get the affected files of a commit with a git post-commit hook?

I'm using git within a perforce repository. I want to be able to know exactly what files were affected by a git commit so I can turn around with a post-commit hook and open those files for edit in perforce, so the perforce server knows about the changes. Is there a way I can get a list, within the post-commit hook, of exactly what files ...

maven build error

hi, when building a maven project. i am getting the following error. [ERROR]Runtime Exception thrown during execution [ERROR]The scm url cannot be null. Please hint me on how to resolve it. Thanks ...

How can I track system-specific config files in a repo/project?

I have a ruby project, and the database host and port might be different on dev and production. I need a way to get different values for those into my scripts for the two environments. The project should be complete - so there should be some way to specify default values. I don't want a clone to be missing the config files. So ignoring...

Is there a CLI for CCRC version 7.0.1

Is there a command-line interface (CLI) for version 7.0.1 of the ClearCase Remote CLient (CCRC)? The only CCRC CLI information I can find seems to only be relevant for version 7.1. I tried downloading that, but it doesn't seem to work with version 7.0.1. (and its no surprise, as 7.0.1 is not listed as being compatible). So, is it poss...

embed version details in android APK

My code is stored in SVN version control. I use Eclipse to build my Android application. In my application, I have an about-box. I want to show the correct source control revision/tag/whatever in this. Is there a way of automating this so that my version string in the about-box is always right, or is this something I have to hand-edi...

Would an additional "push -f"/backup-only Mercurial repo work?

We've set up our own Mercurial workflow which works great for us. However I'm wondering about something: is it possible to create some "junk" repository that would basically be a place where every user could always "push -f" their changesets and where we'd never do anything besides "push -f"? That is: the goal of that repository would ...

Remove file from git repository (history)

(solved, see bottom of the question body) Looking for this for a long time now, what I have till now is: http://dound.com/2009/04/git-forever-remove-files-or-folders-from-history/ and http://progit.org/book/ch9-7.html Pretty much the same method, but both of them leave objects in pack files... Stuck. What I tried: git filter-branch ...

Bazaar newbie question about repository structures

I want to use Bazaar on Windows XP for web-development and related tasks. Most of the files are edited locally and then transferred via FTP to the server. Just now the repository sits on my local workstation. Later on it should be shared locally with some co-workers. Perhaps we will use a local Linux server as a centralized repository, b...

What SCM does support symlinks under Windows and Linux?

I found out that subversion doesn't support symlinks under Windows. I'm wondering if somebody knows a SCM tool that is able to work with symlinks under both Windows and Linux? SCM tools currently missing symlink support under Windows: Clear Case Subversion Mercurial Perforce ...

update location scm url for maven multi module project

Hi, I have a maven multi module project. If I need to branch, I use the maven-versions plugin to go through my project and update the parent version number rather easily. Is there a similar plugin to update my scm location in all of my poms? ...

Save Current State of Rails App...Reload if making any undesired changes

Hey guys..this is kind of a weird question but I'm making a webapp in rails and I have about half the functionality I'd like to see completed. Now I've been here before but due to misnaming some model and controllers everything went haywire so I just restarted the app since I knew I already did. I'm wondering if I can "save game" wh...

WebDAV auto-versioning in Git or Hg or any modern VCS

I just recently learned of SVN's auto-versioning feature for WebDAV. Although I understand this is not replacement for proper versioning, with messages documenting change sets, it strikes me as a solid and safe replacement to Dropbox (minus nice GUIs and web pages). However, since commits in auto-versioning are frequent, I'd imagine that...

Removing a branch hosted with gitosis

I have a git repo hosted on my server using gitosis. I had branches master and template, I renamed the template branch to develop and pushed the develop branch to the gitosis repo which created a new branch named develop, but if I look in the repo_dir/refs/heads dir of my gitosis repo the template branch is still there, how can I remove ...