summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjoris <joris@openbsd.org>2007-07-03 13:22:42 +0000
committerjoris <joris@openbsd.org>2007-07-03 13:22:42 +0000
commit5dd120b010a252e6133962d3dcd59b84a8f9a900 (patch)
treeac2e6b928be0da3abdc7533fbd7f56c1392d2a09 /lib/libc
parentOn the server side, in a remote setup, do not display timestamp. (diff)
downloadwireguard-openbsd-5dd120b010a252e6133962d3dcd59b84a8f9a900.tar.xz
wireguard-openbsd-5dd120b010a252e6133962d3dcd59b84a8f9a900.zip
Rework the way opencvs works in relation to files in the Attic/:
Previously, files in the 'Attic/' were linked into our filelist as being 'Attic/filename,v' this caused unneeded stress on certain functions like cvs_file_classify() who had to do pointer voodoo to split out the 'Attic/' part and do other very weird stuff to normalize the pathname of these files. Instead, we handle these files early in the start when we build the fileslist in cvs_repository_getdir(). When encountering the 'Attic/' directory, we recurse in it if required but instead of using the 'Attic/' directory component as our base directory we stick with the directory name where 'Attic/' resides in, resulting in the correct filename while maintaining the correct RCSpath for the file. This made the following things a lot easier: (and in most cases actually fixed the below points) - status with files in Attic/. - checking out HEAD repositories with files in Attic/. - checking out repositories with -rTAG. - updating with -rTAG. and as an added bonus the following now also works: - correctly creating CVS/Tag in both local and remote mode thus allowing update/status/and more to work correctly with the tagged tree. (thanks to the correct handling of -rTAG cases). - resetting tags with opencvs -A properly works too now. This is a major step forward into the usability of OpenCVS when it comes to maintaining multiple tagged trees, the next logical step would be to fix commiting to branches. enjoy you -stable cowards. tested by myself, xsa, niallo and ckuethe thanks guys!
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions