RE: Disconnected Checkout - Best practices?

"Josh Robinson" <[email protected]>
Newsgroups gmane.comp.version-control.sourcegear-vault.user
Message-ID <DB9DAB1835CA8F45BF68EC4FAFD94DCBFF64EE@mikey.solutionbuilders.com>
I would use CVS mode, except that because of the project files we prefer to exclusive checkout enabled.  I will give you a basic scenario detailing how I go about attempting to Work Offline, and the problem that I keep having.
 
1.) Close Visual Studio at work like any other day
2.) When home, load visual studio, open project which I had been working
3.) Select File|Source Control|Change Source Control
4.) Select all projects in my solution, click the disconnect button
5.) Perform work at home in disconnected state
6.) Arrive at work on Monday morning, Open project, re-connect to Server using opposite of steps in step 3
7.) Attempt to check-in changes
Now, this is where the problem is.  When I try to check in changes, it will overwrite all the changes that I made over the weekend from the data in the repository.  It won't even tell me what file is being overwritten, just the directory that it is in.  I have lost changes this way 3X's now, so have become very frustrated.  Is there a better way to do this, for example should I be using the Vault Client?  Any help is appreciated.  Thanks,

Josh

	-----Original Message----- 
	From: Eric Sink [mailto:[email protected]] 
	Sent: Mon 1/5/2004 9:24 AM 
	To: [email protected] 
	Cc: 
	Subject: RE: [vault-list] Disconnected Checkout - Best practices?
	
	


	I assume you're talking about the Work Offline
	feature in Visual Studio.  We don't have any
	set of best practices for using this particular
	feature.  If you can give us some more specific
	information about the problem you're having,
	we might able to help.
	
	BTW, the best way to work disconnected is to use our
	so-called "CVS Mode".  Unfortunately, this way of
	working is supported only in the main Vault client,
	not within Visual Studio.
	
	In this "mode", Vault doesn't require files to be
	checked out before you edit them.  It automatically
	notices your changes and places them in your pending
	change set as if you had checked them out.  We
	sometimes call this "CVS mode" since it implements
	the "edit-merge-commit" model of development which
	is similar to the way CVS works.  Anyway, this is
	a great way to do development when you're not
	connected to the server.
	
	--
	Eric Sink
	Software Craftsman
	http://software.ericsink.com/
	
	-----Original Message-----
	From: [email protected]
	[mailto:[email protected]] On Behalf Of Josh Robinson
	Sent: Monday, January 05, 2004 6:35 AM
	To: [email protected]
	Subject: [vault-list] Disconnected Checkout - Best practices?
	
	We use Vault 1.2.2 for our small dev team here at work.  It is a huge
	improvement from the constant frustrations that we faced with VSS over the
	years.  However, I have lately become so frustrated with the Disconnected
	Checkout (or Work Offline?) feature as to find it unusable and can no longer
	feel confident that any work I perform over the weekend will make it into my
	source control at the office.
	
	It is likely that I am doing something wrong, so rather than give gory
	details about each step that I am doing (which I will gladly do), I would
	love for someone (at SourceGear or otherwise) to run through the steps that
	are required in a disconnected check-out scenario.  Then, (and this is the
	critical part) what are the steps to properly re-connect to the Vault on
	Monday morning without losing all your inspired weekend code.  That is the
	weak link for me right now, I keep losing everything when I come in on
	monday morning.  I hate to say it, but never had trouble with this feature
	of VSS, so I'm sure that I'm just doing it wrong with Vault.  Thanks for any
	help!
	
	Josh
	
	_______________________________________________
	vault-list mailing list
	[email protected]
	http://lists.sourcegear.com/cgi-bin/mailman/listinfo/vault-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.