Re: [p4] P4V - Question about integration of files without propagating filetypes

Sambwise <[email protected]>
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'Sambwise'.

Typemap settings are only considered when adding brand new files, and only if
not overridden by the "-t" flag on the add
command.  Existing files always retain their existing filetype unless
explicitly overridden, whether you're editing, renaming, or branching them.

Note that the "-t" flag on integrate causes the source filetype to
forcibly overwrite the target when they differ -- it has no effect whatsoever
when branching a new file (since the source filetype is always propagated in
that case anyway).

If you want to branch a file and have the branch's type differ from the
origin, use "p4 reopen -t TYPE" on the file after opening it.

Note also that if you want all your existing files to have the new type,
you'll want to "p4 edit -t text" them to add a new revision that
gives it the new type.



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5547-p4v-question-about-integration-of-files-without-propagating-filetypes
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.