[cvsnt] cvs status - order of appearing files

Zsolt Branyiczky branyiczky.zsolt at bpc.hu
Tue Jul 13 08:44:37 BST 2004


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.


Hi,

I'm working on a SCC-CVS interface and the status of the local files are
done by calling "cvs status".

It offen happens that more files are listed in cvs status command, moreover
the files may contain relative paths, e.g.:

cvs status test1.c test1/test1.c test2.c test2/test2.c test3.c

As usual, stdout (result buffer) contains the result of the operation, but
for my great sorrow, it displays just the basename of the files, without any
possible relative path. Then I thought the order of the files corresponded
their order in the cvs status command, but I was wrong. The files with
relative paths were placed at the end of the result buffer, it may look like
this:

File: test1.c ....
File: test2.c ....
File: test3.c
File: test1.c ...  (this is in fact the test1/test1.c)
File: test2.c ...  (this is in fact the test2/test2.c)

Without neither exact filenames nor exact fileorder I cannot identify the
files in the result buffer.

Any idea how to solve this problem? Can I calculate somehow the order of the
files in advance?

Regards
Zsolt Branyiczky

ps. checking the source of cvsnt I found that "cvs -Q status -q ..."
displays files with relative paths, but without revision numbers, that I
need in my program.






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