[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pserver: export bug?
From: |
Daniel Ganek |
Subject: |
pserver: export bug? |
Date: |
Fri, 24 Mar 2006 10:48:38 -0500 |
User-agent: |
Mozilla Thunderbird 1.0.6 (X11/20050716) |
I'm using cvs-1.11.2-25 on RHEL3U4 and just switched to using the pserver
(cvs-1.11.1p1-8.7 on RH7.3).
I ran across the following anomaly with "cvs export".
If I export a file into a non-existent directory "cvs export" works as
I expect it to work; i.e. it creates the directory and copies the file into
without any CVS directory. E.g.,
$ cvs export -r HEAD -d foo foobar/main.c
$ ll foo
total 4
-rw-r--r-- 1 ganek user 1256 Mar 24 09:50 main.c
However, if the directory already exists, it creates the CVS directory
(or rather doesn't delete it since, I believe, that export simply does
a checkout followed by a delete of CVS). E.g.
$ cvs export -r HEAD -d foo foobar/sub1.c
$ ll foo
total 96
drwxr-xr-x 2 ganek user 4096 Mar 24 10:20 CVS
-rw-r--r-- 1 ganek user 1256 Mar 24 09:50 main.c
-rw-r--r-- 1 ganek user 82432 Mar 24 10:19 sub1.c
Sort defeats the whole purpose of export. Obviously, I can do an "rm -rf CVS".
Is there a later version that fixes this? Is the problem on the client side or
server side?
/dan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- pserver: export bug?,
Daniel Ganek <=