Markus,

Thank you for taking the time to submit a patch to CVSNT.

Technical discussions about the source code of CVSNT belong on the dev
mailing list:
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt-dev

> after update a directory to a numeric revision (1.1 to get all files
> including removed files)
> >cvs update -P -r 1.1 (in directory T:\Build\Content\NumericVersion\)
> 

Numeric directory tags are unsupported:

D:\march-hare\wm11>cvs up -P -r 1.1
cvs [server aborted]: Numeric directory tags are not allowed.



The code to handle this has been in update.cpp since 2005, CVSNT 2.5.02
build 2042:

1.44.2.53    (tmh      03-May-04): /* Called before the directory is
opened.  We reset the sticky directory version here. */
1.44.2.53    (tmh      03-May-04): static int update_predirent_proc
(void *callerdat, char *dir, char *repository, char *update_dir, List
*entries, const char *virtual_repository, Dtype hint)
1.44.2.53    (tmh      03-May-04): {
1.44.2.93    (tmh      23-Nov-04):      const char *olddir_vers;
1.44.2.56    (tmh      01-Jun-04):      List *ent;
1.44.2.87    (tmh      19-Oct-04): 
1.44.2.123   (tmh      27-Jul-05):      if(tag && isdigit((unsigned
char)*tag))
1.44.2.123   (tmh      27-Jul-05):              error(1,0,"Numeric
directory tags are not allowed.");
1.44.2.123   (tmh      27-Jul-05): 


You can update any file to a numeric version, but not the entire
directory, eg:
D:\march-hare\wm11>cvs up -r 1.1 blah.txt

Which version of CVSNT are you using?  The FAQ lists all the information
you should be providing in bug reports:
http://march-hare.com/cvspro/faq/faq2.asp#2z

When making patches we expect you to be running the latest test release
(currently CVSNT 2.5.05.3489):
http://www.cvsnt.org/wiki/Download

Regards,


Arthur Barrett
_______________________________________________
cvsnt mailing list
cvsnt@cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/

Reply via email to