[Cvsnt] Next release features
Bo Berglund
bo.berglund at telia.com
Tue Mar 12 21:38:25 GMT 2002
On Fri, 8 Mar 2002 12:49:17 +0000 (UTC), tmh at nothing-on.tv (Tony
Hoyle) wrote:
>I plan the .4 release to be quite a significant upgrade, so I'm
>interested in the kinds of things people want in CVS that aren't in
>there now.
>
Tony, I have a wish too but it is not for a completely new feature,
rather an improvement on one you have already added:
cvs ls improvement
-------------------
With cvs ls -l -R it is possible to get a "recursive" listing of the
modules and files in a repository.
The problem is interpretation of the output, assume the repository
structure, folders capitalized, indentation show how folders relate:
MODULE1
file1
FOLDER11
file2
file3
FOLDER12
file4
file5
MODULE2
file6
This will be listed as:
Directory Module1
file1
Directory Folder11
file2
file3
Directory Folder12
file4
file5
Directory Module2
file6
Then consider the alternate structure, all folders are modules:
MODULE1
file1
FOLDER11
file2
file3
FOLDER12
file4
file5
MODULE2
file6
This would be listed in exactly the same way as above even though
there are vast differencies in the modules structure!
I suggest that the cvs ls command be modified to output something
like:
Directory Module1
file1
Directory Module1/Folder11
file2
file3
Directory Module1/Folder11/Folder12
file4
file5
Directory Module2
file6
In other words all directory names would contain the path relative to
repository root. This would make the cvs ls a really useful tool to
write an application for repository browsing.
Is this possible in a simple way? I looked in the code but I could not
decode the C code (being a Pascal person myself) so I gave up trying
to do it myself...
/Bo
(Bo Berglund, developer in Sweden)
_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list