[p4] How can you have RCS keywords of similar in your plaintextfiles as well as word documents?

Robert Cowham robert at vaccaperna.co.uk
Wed Jul 12 23:32:46 PDT 2006


Well there are some ideas for Word doc keywords (with some restrictions)...

The key problem with docs is that they are much more likely to be viewed "on
their own" and not as part of a built executable. Thus you want to know -
which version and where is the master copy (in the repository).

Robert 

> -----Original Message-----
> From: perforce-user-bounces at perforce.com 
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Jeff Grills
> Sent: 12 July 2006 23:06
> To: 'Barry Au-Yeung'; perforce-user at perforce.com
> Subject: Re: [p4] How can you have RCS keywords of similar in 
> your plaintextfiles as well as word documents?
> 
> 
> I can't think of any decent way to get RCS keyword expansion 
> in Word documents (and in general any binary document).  If 
> you had some sort of text-based format link HTML, RTF, or 
> XML, then it might be possible to have Perforce inject that 
> stuff at just the right place, but I'd be a little leery.
> 
> That said, there have been plenty of discussions on this 
> email list about keyword expansion, and the consensus seems 
> to be that it's generally a bad idea.  The meta information 
> about the document is and should be part of the version 
> control system, not the document.  What you check in isn't 
> what people get when they sync, which arguably invalidates 
> the "source of truth".
> It can also make diffs uglier as well.  Unless you have some 
> strongly compelling reason to want keyword expansion, I'd 
> recommend that you don't use it.
> 
> j
> 
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of 
> Barry Au-Yeung
> Sent: Wednesday, July 12, 2006 4:45 PM
> To: perforce-user at perforce.com
> Subject: [p4] How can you have RCS keywords of similar in 
> your plain textfiles as well as word documents?
> 
> All,
>    
>   How can you have RCS keywords of similar in your plain text 
> files as well as word documents? It will be useful.
>    
>   Thanks.
>    
>   Barry
>    
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com 
> http://maillist.perforce.com/mailman/listinfo/perforce-user
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com 
> http://maillist.perforce.com/mailman/listinfo/perforce-user
> 
> 



More information about the perforce-user mailing list