[p4] Spec depots?

Philip Panyukov ppanyukov at googlemail.com
Fri Mar 27 04:44:47 PDT 2009

I have just been told by support that the issue of charcters in spec
names which are illegal characters on file systems (such as ":" on
Windows) has been fixed in 2008.2, see release notes, item #163482.

They also told me there doesn't seem to be any way to rename jobs and
things like that.  The only way seems to be to recreate them.


2009/3/27 Mark Ridgwell <perforce at markridgwell.com>:
> Philip Panyukov wrote:
>> Funny, I just found one more "gotcha".  Quite unpleasant one too.
>> This is to do with file names and paths in the spec names.
>> It turns out, we have some jobs which contain ":" character in them,
>> e.g. "BUG:123".
>> When I run "p4 admin updatespecdepot -a", I get the following for
>> every job like above:
>> Warning: couldn't archive to spec depot
>> (spec/job/omnia:qaissue-109-knowhowmenurules.p4s)
>> RCS can't commit changes to
>> spec/job/omnia:qaissue-109-knowhowmenurules.p4s,v!
>> rename: spec/job/omnia:qaissue-109-knowhowmenurules.p4s,v: The
>> filename, directory name, or volume label syntax is incorrect.
>> Of course, the ":" character can't be used to name files on Windows
>> system!  But now the question is: how do I rename those jobs?
> Well on NTFS they can - its called an alternate data stream - you can create
> a file say test.txt and additional sets of data like test.txt:Stream1 etc.
> Each stream is independent and can be read\written to as if they were a
> separate file, except its bound to the same test.txt name.
> This article explains it in rather more detail than almost anyone needs to
> know:
> http://www.securityfocus.com/infocus/1822
> As for renaming in P4, I'm not sure how you'd go about doing that.
> Regards,
> Mark
> --
> ACCU - Professionalism in programming - http://www.accu.org/
> My Photos - http://www.markridgwell.co.uk/

More information about the perforce-user mailing list