Do I need to CheckOut everytime I CheckIN?

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
MrAnalogy
Posts: 20
Joined: Sat Apr 08, 2006 12:33 am

Do I need to CheckOut everytime I CheckIN?

Post by MrAnalogy » Thu Apr 20, 2006 10:14 pm

I'm working alone with no branching, etc., so just using Vault as a powerful "undo".

I've set the Vault Client Tools>Options>Checkin to "always keep files checked out".
And checked "Auto-commit after each op" and unchecked "require checkout before checkin".

However, when I checkin, all the files get a "lock" icon.

That suggests to me that the file isn't checked out for editing.
Am I misunderstanding that?

It seems that I can continue editing, and Check In the project just fine.
Attachments
lockIconsInVSS.png
Note the "lock" icon. mouseover tip is "checked in"
lockIconsInVSS.png (7.25 KiB) Viewed 3115 times

kasti
Posts: 108
Joined: Tue Apr 20, 2004 4:21 am
Location: Austria

Post by kasti » Fri Apr 21, 2006 1:06 am

Its sounds like CVS working style is probably just what you are looking for:


Tools->options->Concourrent Dev style->CVS Style

With this option selected, you never need to check out - just check in when you want to, vault will allow you to.

Ciao,
Kasti.

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Fri Apr 21, 2006 8:14 am

One point of clarification - Microsoft's MSSCCI does not support Modify, Merge, Commit (MMC). This method of programming style will only work if used in tandem with the Vault GUI client or the Vault Command Line Client (CLC).

If you want to use Vault's Integrated MSSCCI client within an IDE like Visual Studio 2003 / 2005, you will have to use Checkout, Edit, Commit (VSS mode).
Jeff Clausius
SourceGear

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: Do I need to CheckOut everytime I CheckIN?

Post by jclausius » Fri Apr 21, 2006 8:17 am

MrAnalogy wrote:However, when I checkin, all the files get a "lock" icon.
Check your settings within Visual Studio. From the Menu Tools -> Options -> Source Control. Check the General settings there for behavior of the Vault MSSCCI client.
Jeff Clausius
SourceGear

MrAnalogy
Posts: 20
Joined: Sat Apr 08, 2006 12:33 am

Thanks!

Post by MrAnalogy » Fri Apr 21, 2006 9:21 am

Went to: VS>Tools>Options>Source Control>Enviornment options.

There's an option for "independent developer" (i.e., solo programmer) so I selected that.

That seemed to do the trick.

Thanks!

Post Reply