[p4] renaming/moving files in the same branch

David Jeske jeske at chat.net
Mon Nov 22 13:34:14 PST 1999


You don't lose revision history. However, the revision history of the
"new" name starts with the integration operation. I wrote a script
which tracks down old revision history information via integrations.

http://www.chat.net/~jeske/Perforce/p4desc.sh

On Mon, Nov 22, 1999 at 11:08:53AM -0800, Jerjiss, Allen wrote:
> Perforce documentation suggests, for renaming/moving files, to do an
> integrate 'from file(s)' to 'to file(s)', then deleting the 'from file(s)'
> and submitting.  First of all, why did perforce make renaming/moving so
> complicated, but on to the real question:  When I try this I loose revision
> history.  Does anybody know how to achieve this without loosing history?

-- 
David Jeske (N9LCA) + http://www.chat.net/~jeske/ + jeske at chat.net





More information about the perforce-user mailing list