On Sun, Jul 24, 2005 at 03:31:55PM -0500, Craig A. Berry wrote:
> The attached patch (plus one additional step) gets bleadperl building on
> VMS again. The additional step is renaming the directory
> 
> ext/Compress/Zlib/zlib-src-1.2.3
> 
> to
> 
> ext/Compress/Zlib/zlib-src
> 
> which I assume needs to be done in Perforce. The related changes to

$ p4 help rename

    rename -- How to rename files

    p4 integrate from to
    p4 delete from
    p4 submit

        Perforce does not support a single 'rename' command, but files can
        be renamed by branching one file into another and then deleting the
        original file.

        The 'from' and 'to' file arguments may include wildcards as long as
        they are matched.

        Integrating from files require read access to the files, but deleting
        them requires write access.

        For further information, see the help for the individual commands.



And what it doesn't state explicitly is that you're renaming files, not
directories, so you then have to use perforce wildcards, ie:

$ cd ext/Compress/Zlib/
$ p4 integrate zlib-src-1.2.3/... zlib-src/...
$ p4 delete zlib-src-1.2.3/...

Thanks, applied (25217)

Nicholas Clark

Reply via email to