[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: two different behaviors for cvs export
From: |
Larry Jones |
Subject: |
Re: two different behaviors for cvs export |
Date: |
Thu, 6 Mar 2003 13:28:22 -0500 (EST) |
Chris Chang writes:
>
> <!--
> actual output 2 (_not_ expected)
> -->
> U ./rel/test/incremental/V2-03/bug1234.sql
> U ./rel/test/incremental/V2-03/bug2467.sql
>
> <!--
> "expected" output 2
> -->
> U ./rel/bug1234.sql
> U ./rel/bug2467.sql
>
> Any idea?
When you checkout/export a single module/directory/file with -d, CVS
"shortens" the paths as you expect. When you do more than one, however,
CVS does *not* shorten the paths because a single working directory can
only contain files from a single repository directory. While it might
be possible to look through the arguments and determine whether they all
refer to the same directory or not, there are lots of complications and
CVS doesn't bother. If you want short paths, do one at a time.
-Larry Jones
Oh, what the heck. I'll do it. -- Calvin