logo       
Google Custom Search
    AddThis Social Bookmark Button

Perforce source repo fixes: msg#00078

Subject: Perforce source repo fixes
Hi.  I have some fixes for p4 source repo.  I'm doing p4 -> svn
conversion.  This patch does several things:

1. It generates directory adds when necessary.  p4 doesn't track
directories, so when you add a file to a new directory, p4 doesn't
have an add event for the directory.  Without this patch, svn fails
when it tries to add a file in a directory that hasn't been added.

2. It generates directory removes when the last file gets removed.
This is mainly cosmetic.

3. It detects p4 renames (branch+delete), and turns them into rename events.

4. It runs a little faster.  Without this patch, tailor runs 'p4
describe' twice for every changeset.  This reduces it to once.

This still doesn't do anything special with copy branches, mainly
because I'm not sure what to do with them.    Tailor doesn't seem to
support that case very well.  So branching is still treated like
ordinary adds.

Attachment: perforce_1.patch
Description: Text Data

_______________________________________________
Tailor mailing list
Tailor@xxxxxxxxxxxxxxx
http://lists.zooko.com/mailman/listinfo/tailor

Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>