Discussion:
Bulk checkout problem
Reis Markus
2009-03-10 07:38:51 UTC
Permalink
Hi,


We have the following problem when checking out files from the cvs
reposiory (some of which do not yet exist in our local working copy)
within a bulk checkout:

***@rzs02:/opt/abv/java_cvs_wd rc=0
$ cvs -t co -r ABN java/jboss/webAntWeb/WebContent/images/abv.png
java/jboss/webAntWeb/WebContent/Beenden.html
java/jboss/webAntWeb/WebContent/Portal.html
java/jboss/webAntWeb/WebContent/index.html
-> main loop with CVSROOT=:ext:cvs.abv.at:/usr/local/cvs
-> Starting server: ssh cvs.abv.at cvs server
S-> do_module (java/jboss/webAntWeb/WebContent/images/abv.png, Updating,
, )
S-> do_module (java/jboss/webAntWeb/WebContent/Beenden.html, Updating, ,
)
S-> do_module (java/jboss/webAntWeb/WebContent/Portal.html, Updating, ,
)
S-> do_module (java/jboss/webAntWeb/WebContent/index.html, Updating, , )
S-> do_module (java/jboss/webAntWeb/WebContent/images/abv.png, Updating,
, )
S-> fopen(/usr/local/cvs/CVSROOT/history,a)
S-> Reader_Lock(/usr/local/cvs/java/jboss/webAntWeb/WebContent/images)
S-> Lock_Cleanup()
S-> do_module (java/jboss/webAntWeb/WebContent/Beenden.html, Updating, ,
)
cvs server: existing repository /usr/local/cvs/CVSROOT/Emptydir does not
match /usr/local/cvs/java/jboss/webAntWeb/WebContent
cvs server: ignoring module java/jboss/webAntWeb/WebContent/Beenden.html
S-> do_module (java/jboss/webAntWeb/WebContent/Portal.html, Updating, ,
)
cvs server: existing repository /usr/local/cvs/CVSROOT/Emptydir does not
match /usr/local/cvs/java/jboss/webAntWeb/WebContent
cvs server: ignoring module java/jboss/webAntWeb/WebContent/Portal.html
S-> do_module (java/jboss/webAntWeb/WebContent/index.html, Updating, , )
cvs server: existing repository /usr/local/cvs/CVSROOT/Emptydir does not
match /usr/local/cvs/java/jboss/webAntWeb/WebContent
cvs server: ignoring module java/jboss/webAntWeb/WebContent/index.html
-> Lock_Cleanup()
-> Lock_Cleanup()

The file java/jboss/webAntWeb/WebContent/images/abv.png already exists
in our local working copy whereas
java/jboss/webAntWeb/WebContent/Beenden.html
java/jboss/webAntWeb/WebContent/Portal.html
java/jboss/webAntWeb/WebContent/*.html do not yet exist in our local
working copy, but do exist in the repository tagged with tag 'ABN'.
As you can see the checkout operation succeeds for the first file (the
one that already exists in our local working copy) and fails for the
latter files (the ones that only exist in the repository).

If I execute the same command, but omit the first file
(java/jboss/webAntWeb/WebContent/images/abv.png), everything works fine:

***@rzs02:/opt/abv/java_cvs_wd rc=1
$ cvs -t co -r ABN java/jboss/webAntWeb/WebContent/Beenden.html
java/jboss/webAntWeb/WebContent/Portal.html
java/jboss/webAntWeb/WebContent/index.html
-> main loop with CVSROOT=:ext:cvs.abv.at:/usr/local/cvs
-> Starting server: ssh cvs.abv.at cvs server
S-> do_module (java/jboss/webAntWeb/WebContent/Beenden.html, Updating, ,
)
S-> do_module (java/jboss/webAntWeb/WebContent/Portal.html, Updating, ,
)
S-> do_module (java/jboss/webAntWeb/WebContent/index.html, Updating, , )
S-> do_module (java/jboss/webAntWeb/WebContent/Beenden.html, Updating, ,
)
S-> Create_Admin (., java, /usr/local/cvs/java, , , 0, 1, 1)
S-> unlink_file(./CVS/Tag)
-> unlink_file(CVS/Tag)
S-> Parse_Info (/usr/local/cvs/CVSROOT/rcsinfo, java, ALL)
S<- Create_Admin
S-> Create_Admin (., java/jboss, /usr/local/cvs/java/jboss, , , 0, 1, 1)
S-> unlink_file(./CVS/Tag)
-> unlink_file(CVS/Tag)
S-> Parse_Info (/usr/local/cvs/CVSROOT/rcsinfo, java/jboss, ALL)
S<- Create_Admin
S-> Create_Admin (., java/jboss/webAntWeb,
/usr/local/cvs/java/jboss/webAntWeb, , , 0, 1, 1)
S-> unlink_file(./CVS/Tag)
-> unlink_file(CVS/Tag)
S-> Parse_Info (/usr/local/cvs/CVSROOT/rcsinfo, java/jboss/webAntWeb,
ALL)
S<- Create_Admin
S-> Create_Admin (., java/jboss/webAntWeb/WebContent,
/usr/local/cvs/java/jboss/webAntWeb/WebContent, , , 0, 0, 1)
S-> unlink_file(./CVS/Tag)
-> unlink_file(CVS/Tag)
S-> Parse_Info (/usr/local/cvs/CVSROOT/rcsinfo,
java/jboss/webAntWeb/WebContent, ALL)
S<- Create_Admin
S-> server_register(Beenden.html, 1.1, Initial Beenden.html, , ABN, , )
S-> Register(Beenden.html, 1.1, Initial Beenden.html, , ABN )
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
S-> fopen(/usr/local/cvs/CVSROOT/history,a)
S-> Reader_Lock(/usr/local/cvs/java/jboss/webAntWeb/WebContent)
S-> RCS_checkout
(/usr/local/cvs/java/jboss/webAntWeb/WebContent/Beenden.html,v, 1.1,
ABN, , (function))
S-> server_register(Beenden.html, 1.1, Initial Beenden.html, , ABN, , )
S-> Register(Beenden.html, 1.1, Initial Beenden.html, , ABN )
U java/jboss/webAntWeb/WebContent/Beenden.html
-> rename(.new.Beenden.html,Beenden.html)
-> Register(Beenden.html, 1.1, Thu Feb 26 14:23:16 2009, , ABN )
S-> Lock_Cleanup()
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
S-> do_module (java/jboss/webAntWeb/WebContent/Portal.html, Updating, ,
)
S-> server_register(Portal.html, 1.1, Initial Portal.html, , ABN, , )
S-> Register(Portal.html, 1.1, Initial Portal.html, , ABN )
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
S-> fopen(/usr/local/cvs/CVSROOT/history,a)
S-> Reader_Lock(/usr/local/cvs/java/jboss/webAntWeb/WebContent)
S-> RCS_checkout
(/usr/local/cvs/java/jboss/webAntWeb/WebContent/Portal.html,v, 1.1, ABN,
, (function))
S-> server_register(Portal.html, 1.1, Initial Portal.html, , ABN, , )
S-> Register(Portal.html, 1.1, Initial Portal.html, , ABN )
U java/jboss/webAntWeb/WebContent/Portal.html
-> rename(.new.Portal.html,Portal.html)
-> Register(Portal.html, 1.1, Thu Feb 26 14:23:16 2009, , ABN )
S-> Lock_Cleanup()
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
S-> do_module (java/jboss/webAntWeb/WebContent/index.html, Updating, , )
S-> server_register(index.html, 1.2, Initial index.html, , ABN, , )
S-> Register(index.html, 1.2, Initial index.html, , ABN )
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
S-> fopen(/usr/local/cvs/CVSROOT/history,a)
S-> Reader_Lock(/usr/local/cvs/java/jboss/webAntWeb/WebContent)
S-> RCS_checkout
(/usr/local/cvs/java/jboss/webAntWeb/WebContent/index.html,v, 1.2, ABN,
, (function))
S-> server_register(index.html, 1.2, Initial index.html, , ABN, , )
S-> Register(index.html, 1.2, Initial index.html, , ABN )
U java/jboss/webAntWeb/WebContent/index.html
-> rename(.new.index.html,index.html)
-> Register(index.html, 1.2, Thu Feb 26 16:31:44 2009, , ABN )
S-> Lock_Cleanup()
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
-> rename(CVS/Entries.Backup,CVS/Entries)
-> unlink_file(CVS/Entries.Log)
-> Lock_Cleanup()
-> Lock_Cleanup()

Could you please explain to me why that happens and what I could do in
order solve this problem?


Kind regards & many thanks,
Markus

PS: Our cvs server version is Concurrent Versions System (CVS) 1.11.6
(client/server) and runs on HP-UX 11.31

Loading...