What is a good alternative for SourceSafe on a USB Drive? - version-control

I like to keep my source files on a USB drive for the portability. To date I have been using Visual SourceSafe for this purpose. What is a good alternative to VSS that fulfils these criteria:
Entire database can be held on a USB "pen" drive
Code / documentation duplicated on local drives
Does not require a central server
Easy to backup and restore using standard backup tools
Integrates with Visual Studio
Has a small footprint
Easy to clean the database and keep small
Compatible with Windows XP, Vista and Vista x64
A good reference on setup would be good too.

I would use SVN (Subversion).
You can use SVN in "file" mode (w/o using the network).
combine this with tortoiseSVN, which integrates to explorer, and you have a nice little portable repository.
For Visual Studio integration, there is the commercial($49) VisualSVN (which I believe is the setup used to develop StackOverflow).
Someone also mentioned AnkhSVN which I haven't used, but some people find it less than satisfying.

Don't use SourceSafe. There's major problems with it. See this:
Article1
Article2
I'd recommend using SubVersion instead.
If you're using Windows, you can use TortoiseSVN.
If you're working on Linux or other Unix variants, try RapidSVN.

Use Subversion. The FSFS style repository will work best as older BDB ones can have issues when moved from computer to computer. With AnkhSVN you'll have full integration with Visual Studio (AnkhSVN 2.x is a source control plugin; older versions still do the job, though).

Bazaar does what you're asking for (in terms of working very well standalone), and there was a 2007 Summer of Code project to build a Visual Studio integration plugin which appears to have produced an at-least-partially-functional product.
Bazaar (and other distributed tools, such as Git, Mercurial, Darcs and the like) are ideal because you can have your repository stored in multiple places (ie. on your pen drive, but also copied up to a server on a regular basis), make changes in one or the other branch (let's say you leave your pen drive at home -- you can build changes against the copy on a remote server, upload them via WebDAV, SFTP, etc, and be able to seamlessly merge them into changes done locally to the pen drive; non-distributed solutions such as Subversion don't have that capability).

There are two common free front-ends Ankhsvn integrates into visual studio
and TortoiseSVN integrates with explorer ( my preference).
There is also sliksvn a self contained svn server for windows.

I'd recommend SubVersion as well - you can find a hosting provider who offers SVN for really cheap, this way your source code is always backed up and available, all you need to keep on your flash drive is SVN client...

Related

Need simple version control tool for own development project (site)

I am doing a project in my spare time, and I need version control. Mainly I need some kind of sync that keeps remote / local files synced up since I make changes both on the server and locally.
Environment is Windows 8, 64bit, main dev tool is Dreamweaver, and the servers are on the host at the moment (although I am thinking for setting up a local db and server).
I don't want anything fancy, or complicated and only this very basic functionality is needed. Just for it to keep track of whether the server version and the local version is most recent, possible warn me if I am about to make a version control mistake.
You say that you need "some kind of sync that keeps remote / local files synced up" with simple workflow. Take a closer look at Apache Subversion (SVN) then; SVN is a storage and a time machine for your sources and is a great solution to organize your code and development process. Read SVNBook!
Adobe Dreamweaver supports SVN out-of-the-box, BTW. There is a good article series about using Dreamweaver with SVN:
Using Subversion with Dreamweaver CS5 – Part 1: Introducing Subversion,
Using Subversion with Adobe Dreamweaver CS5 – Part 2: Configuring Dreamweaver to use Subversion.

source code management for windows7 for local used

I'm using windows 7 and a project in windows. what source code management will I use?
I want a local server.
I try to read this article http://www.tortoisecvs.org/faq.html#win9x but it says that The TortoiseCVS team does not use Vista or Windows 7 and does not have access to a Vista development system. This means that no testing is done on Vista
Thanks for the help
I suggest you use Git or Mercurial for local source code management. They're real quick and easy to work with, and the entire history of a repository (basically a folder on your hard drive) is contained within the repository itself.

Best sourcesafe system for iphone xcode

which is best sourcesafe system for iphone xcode on backup and proper check-in & check-out on codes
Regards,
sathish
it appears that you're using 'sourcesafe' as a generic term for version control.
for version control of xcode projects:
i have used cvs, subversion, and now git (also serving as a front-end for other systems).
git is my first choice (it is distributed, and quite fast).
svn (subversion) is my second choice - you may have more coworkers/projects which prefer svn, although git may also be used as a svn client.
lastly - i prefer using dedicated visual clients over xcode... xcode seems to be busy doing other things. it is usually faster to disable vc in xcode, and hop to a terminal or other client while xcode builds/debugs/updates indexes, etc.
XCode supports CVS, Perforce and SVN out of the box. Out of the three, I think SVN is the most popular choice.
Setup your project.
Delete the build folder.
Setup repository.
Import project to repo.
Checkout project from repo so you'll get a versioned copy.
Well, first - it is not called sourcesafe system, but version control - way of controlling evolution of source code and its versioning. Sourcesafe is a specific product by Microsoft.
Second - version control is data agnostic. That means you can use any system you know. The best tool is the one you know well.
That being said, there are some advantages in using specific version control systems as Subversion and Git, because those two are going to be supported in next version of Xcode (version 4).
Current Xcode (version 3) has support for Subversion, CVS and Perforce. If you are familiar with any of these, use them, but do not restrict yourself only to these. Stability of version control support in Xcode 3 is mediocre, at least with Subversion which I've used. Xcode 4 is going to be a huge improvement in this area.
Lots of developers, me included, prefer not to use integrated support for version control in Xcode (or any other developer tools), but use specific clients - like Versions for Subversion, or command-line tools for Git.
I want to comment on use of Git, which I personally use and love. It is a distributed system, and for beginners its concepts might be a bit hard to grasp. Consider the experience of your teammates when deciding to use it - for lots of teams it's better to use something more traditional like Subversion.
SmartCVS is also one of good tool which we use for co working with teammates

IBM's RTC and Microsoft's TFS 2010

What in your view are the most important differences?
Need to make an expensive decision...
Information:
We have both Java and .NET Projects (few more .NET)
Very interested in project life cycle management.
Migrating from ClearCase
Both TFS and RTC are CRRM integrated to development environment (Visual Studio or Eclipse): they provide:
Change Management (CM)
VCS (Version control system)
Release Management (RM)
The difference is mainly in their architecture, where:
TFS provides a server SDK for facilitating integration with Visual Studio
RTC is build on top of an open-source application HUB able to aggregate any kind of tools (RTC baing the IBM Rational commercial implementation of Jazz)
The challenge in both CRRM tools is to manage the necessary bridge you will have to setup for various legacy tools (like an existing ticket system for instance).
Stay away from Accurev, it is a nightmare, as a developer with personal daily battles with it. Git, Mercurial, Darcs, or SVN are much better choices. As far as all of the "features" of Accurev, you likely won't ever miss them, you'll be too busy swearing.
RTC is Visual Studio friendly, and TFS is Eclipse friendly:
(RTC visual studio integration listed here)
https://jazz.net/downloads/rational-team-concert/releases/3.0
(TFS eclipse integration detailed here)
http://teamprise.com/ (purchased and renamed by MS)
I'd personally rather work with TFS, and I write integrations with version control systems for a living, and have touched both of these systems in a deep way. Ask if you want the details.
If you have a choice in the matter, go with Mercurial. Git is fantastic, but I found the Windows experience lacking. Get a separate bug tracker.
If you have a choice but must have version control integrated tightly with tickets, try http://fossil-scm.org/ - far less pain than either TFS or RTC to setup and maintain, though the IDE integration simply does not exist. But it competes solidly on core features with them in about 1 megabyte of download.
TFS doesnt have any support for eclipse or any such editors yet, (they are about to come, but no news yet). So which editor you use for your java projects that matters here. But Microsoft is coming up with teamprise which can let you connect TFS (which can work better for your java+.net)
And ofcourse for .net projects, TFS is the best, eclipse support for .net/c# is bad, we are using TFS and am lot happy with 2010.
I think for RTC dont know how much support is there for .net editors (VS or any other you prefer) but with TFS, you can certainly make .NET project work great and you can find Teamprise + TFS to work with eclipse also.
Is it really a question? Not nagging, but what is your toolstack to start with. What versions we talk about? (note Visual Studio 2010 and TFS 2010 are just around the corners - both a lot better, still usable for .NET 2.0 upward).
Without more information you get tons of idiotic little feature lists - because we dont know how to answer properly in the big picture. This is like "what are all the differences between a BMW 3 and a Mercedes SLK" - TONS of small things, TONS of relevant things, but what do you want? ;)

Source control for use with VisualStudio + Xcode?

I don't know much about source control beyond what I have used at work [Perforce]. I'm looking for a product with the following..
Free
Centralized (server running on the LAN)
Good integration with Microsoft Visual Studio (built-in / free plugin?)
Good integration with Apple Xcode (built-in / free plugin?)
Are there many that fit those criteria? What would you choose?
Thank you for any input.
Xcode has built-in support for SVN, CVS and Perforce.
Visual Studio has a plug-in for most source code control systems. A free one for svn is Ankhsvn
SVN sounds like your only option. I'd question why you think you need a centralised server, though.
Well subversion is the first one which comes in mind.
Ankhsvn/visual svn for visual studio
http://developer.apple.com/tools/subversionxcode.html for xcode