Development Style - CVS does not detect changes?

If you are having a problem using Vault, post a message here.
Post Reply
ajj3085
Posts: 228
Joined: Thu Feb 16, 2006 11:39 am

Development Style - CVS does not detect changes?

Post by ajj3085 » Sat Mar 17, 2012 11:19 am

I've been using Vault for a while now, and I've always used the VSS concurrent development style. I wanted to switch to CVS style, to eliminate the delay from when I start typing i a file until when its auto-checked out for me, and to be more consistent with how SVN works as that's what I use for my fulltime employment.

I also have CCNet running to do automated CI builds, and the output of all projects is compiled to a bin folder which is then committed on success. The build uses the same Vault logon as I do.

It seems that when I changed to CVS style, everything worked except that when the build when to commit Vault did an Undo checkout as if the files were unmodified. Changing the setting back to VSS style and forcing another build did work correctly and committed the changed binaries.

I'm assuming that because the files are of the unmergable type, Vault just assumed they hadn't changed instead of checking. Can this be resolved? I really would like to change to the VCS style.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Development Style - CVS does not detect changes?

Post by lbauer » Mon Mar 19, 2012 12:23 pm

We use CVS mode with CCNET here and haven't encountered this issue.

Is the build running under the same logged in Windows user as you?

We'll do some testing here to see if we can reproduce this.
Linda Bauer
SourceGear
Technical Support Manager

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Development Style - CVS does not detect changes?

Post by lbauer » Mon Mar 19, 2012 2:37 pm

We could use more information to try to reproduce this. Are you using the Vault Command Line Client with Cruise Control to commit the build's changes?
Linda Bauer
SourceGear
Technical Support Manager

ajj3085
Posts: 228
Joined: Thu Feb 16, 2006 11:39 am

Re: Development Style - CVS does not detect changes?

Post by ajj3085 » Sun Apr 08, 2012 7:42 am

lbauer wrote:We could use more information to try to reproduce this. Are you using the Vault Command Line Client with Cruise Control to commit the build's changes?
No, I'm using the NAnt tasks to work with Vault from the build script.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Development Style - CVS does not detect changes?

Post by lbauer » Mon Apr 09, 2012 4:14 pm

It's possible the NAnt tasks aren't using the Vault client-side cache, so the file status isn't being updated. I'll need to consult with our developers for more information about this.
Linda Bauer
SourceGear
Technical Support Manager

ajj3085
Posts: 228
Joined: Thu Feb 16, 2006 11:39 am

Re: Development Style - CVS does not detect changes?

Post by ajj3085 » Mon Apr 09, 2012 6:23 pm

lbauer wrote:It's possible the NAnt tasks aren't using the Vault client-side cache, so the file status isn't being updated. I'll need to consult with our developers for more information about this.
Thanks for looking into this. The odd thing is that it does work with VSS style; it only doesn't work for me using CVS style.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Development Style - CVS does not detect changes?

Post by lbauer » Thu Apr 12, 2012 9:59 am

We're still not sure why CCNet isn't detecting the modifications.

If you check out the files (while using CVS mode) then do the build, does that work?

Are the NAnt tasks running under your Vault user account?

Are they running under your Windows login?

Could you use a different Vault account, like Admin, to run the builds, and set that development style to VSS mode?
Linda Bauer
SourceGear
Technical Support Manager

ajj3085
Posts: 228
Joined: Thu Feb 16, 2006 11:39 am

Re: Development Style - CVS does not detect changes?

Post by ajj3085 » Thu Apr 12, 2012 7:13 pm

lbauer wrote:If you check out the files (while using CVS mode) then do the build, does that work?
No, it doesn't help. I actually didn't think this setting would affect the account on the build server, so i never changed the scrips, which do check out the files at the start of the build.
lbauer wrote:Are the NAnt tasks running under your Vault user account?
Yes, the scripts use my Vault user name and password
lbauer wrote:Are they running under your Windows login?
No, the CCnet server runs under a different domain account.
lbauer wrote:Could you use a different Vault account, like Admin, to run the builds, and set that development style to VSS mode?
I hadn't considered that; I thought since I only had one full license that I wouldn't be able to do that, but I'll give it a shot.

Post Reply