preliminary support for 'cvs ls' subcommand
Brought to you by:
tyranny
From: Alexey M. <al...@hs...> - 2001-11-06 00:55:19
|
>>>>> "AM" == Alexey Mahotkin <al...@hs...> writes: AM> Hello, AM> I've partially implemented the 'cvs ls' subcommand. Alex, I hope AM> it would help you to at least put the basic framework into your AM> code. You should make the parsing be extensible, because AM> currently only few fields are shown up. Ok, I've partially understood how the rcs.c works, and now 'cvs ls' can emit timestamps (simply as time_t) and user name. The format is: Dtesting /README/1.3/alexm/991519963/ /hello.c/1.3/alexm/991586038/ Dtesting/sdir /sfile/1.1/alexm/1004743368/ Dtesting/sdir/ssdir The only thing left wrt original cvsweb is the "Last log revision". I do not know how to escape it here, so suggestions on output format are appreciated (maybe simple XML? or RFC822-style? or binary-64 encoding? =) ACLs are also supported, too (though not tested). The only thing left is support for tags (see original cvsweb); Alex, do you need anything else from 'cvs ls'? AM> Currently there are only filename and revision number supported. AM> I could not get the timestamp (as in CVS/Entries) file however I AM> tried. It must be hidden somewhere in very obvious place. Hm, yes, the place was rather simple :) I think I need to make up some summary of things uncovered while digging inside of the CVS... Everything is committed. Enjoy, --alexm |