[cvsnt] Up-to-date check failed after failed commit...

John Cole john.cole at uai.com
Fri Aug 5 18:28:02 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Thanks, the suggestion to #2 helped, though I still had to do a 'cvs update'
to get through the commit.

I've got a little more info on the commit failing with a log snippet with -t
-t -t set:

--------------------------------------------------------
 [exec]   -> call_in_directory 'MapObjects/Utils/uaPermissionsUpdater2/bin/R
elease/'
     [exec]   ->
rename(_new_uaPermissionsUpdater2.exe,uaPermissionsUpdater2.exe
)
     [exec]   -> GetUnixFileModeNtEA(uaPermissionsUpdater2.exe,00002734)
returns
 0666
     [exec]   -> chmod(uaPermissionsUpdater2.exe,100666)
     [exec]   -> wnt_chmod(uaPermissionsUpdater2.exe,100666)
     [exec]   -> SetUnixFileModeNtEA(uaPermissionsUpdater2.exe,100666)
     [exec] cvs [commit aborted]: cannot rename file
_new_uaPermissionsUpdater2.
exe to uaPermissionsUpdater2.exe: Permission denied
--------------------------------------------------------
again, this is during a commit.

After the commit fails, I stopped/started the cvs server (from the control
panel) and tried to commit again and got an Up-to-date check failed error.
So then I updated.  Here is a snippet from the update (remember that this is
a test server, so no one else is using this machine):

--------------------------------------------------------
U ArcObjects/Apps/uaArcI2/uaArcI2.exe
cvs server: nonmergeable file needs merge
cvs server: revision 1.34.2.4 from repository is now in
ArcObjects/Apps/uaArcI2/
uaArcI2exe
cvs server: file from working directory is now in ..#uaArcI2.exe.1.34.2.3
C ArcObjects/Apps/uaArcI2/uaArcI2.exe
RCS file: /PRODDEV/2x/ArcObjects/Apps/uaArcI2/uaArcI2.vbp,v
retrieving revision 1.169.2.3
retrieving revision 1.169.2.4
Merging differences between 1.169.2.3 and 1.169.24 into uaArcI2.vbp
ArcObjects/Apps/uaArcI2/uaArcI2.vbp already contains the differences between
1.1
69.2.3 and 1.169.2.4
--------------------------------------------------------

Then I reset the cvs server again and continued the commit and it finished.

Tony, do you see a cause for why the commit failed?  There is no AV or
a-spyware software, its XPsp2 and I've updated with the latest HP disk
drivers and bios.

Thanks,

John Cole
________________________________________
From: rajiv kumar [mailto:cvsissue at yahoo.com] 
Sent: Friday, August 05, 2005 10:45 AM
To: John Cole; cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: Re: [cvsnt] Up-to-date check failed after failed commit...

Problem 1:
This is due to the increased version available in CVS while you are trying
to commit the old version. Can't say more on this :-(
 
Problem 2:
Restart the CVS server and again try to checkin. It should work. Many times
I faced the same problem and upon restarting the cvs server, it got fix. I
feel the reason is some other process is alredy using that file which
prevents you to rename it.
 
Thanks
Rajiv Kr. Srivastava

John Cole <john.cole at uai.com> wrote:
I am working on a build script that checks out the source files (after
deleting them) builds, and then commits the changes back to cvs. While I'm
getting some strange errors (another issue, I am still trying to figure out)
on commit, I have found that trying to commit again fails with an up to date
check on many (but not all) changed files.

Since I'm doing this on my test server, no one else could have changed
anything.

A 'cvs udpate' updates and merges changes from previous versions (which is
very confusing).

I've compared the folders before/after the update and they are identical
except for a few files in the cvs directories.

The problem is that I still cannot commit, even after doing an update, it
comes back with the same up-to-date check failed! How can I commit these
files (no one else has access to the test server).

-----------------------------------------------------
Problem 2

The reason for the commit failure was a permission denied on renaming a
file:

[exec] cvs [commit aborted]: cannot rename file
_new_uaPermissionsUpdater2.
exe to uaPermissionsUpdater2.exe: Permission denied

I'm running as a system admin, delete the entire source directory, check out
the files, build, and try and commit. So I'm confused as to why cvs cannot
rename what I assume is a temp file. Also is that error from the server or
the client?

I'm running Client: Concurrent Versions System (CVSNT) 2.0.51d
(client/server)
Server: Concurrent Versions System (CVSNT) 2.5.01 (Travis) Build 1990
(client/server)

Thanks,

John Cole

-------------------------------------
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook