This is an archive of the discontinued Mercurial Phabricator instance.

use full version of copytrace for draft branch rebases
AbandonedPublic

Authored by goozie001 on Aug 22 2017, 6:00 PM.
Tags
None
Subscribers

Details

Reviewers
stash
ryanmce
Group Reviewers
Restricted Project
Summary

on merge during rebase, check to see if source and destination are both draft commits. If so, use full copytrace to support more functionality.

Test Plan

In tests/test-copytrace.t, added two tests:

  • Change a file name and move containing directory in one branch. Modify contents of original file name in other branch. Rebase modded file into new file name in new directory.
  • Move directory in one merge parent. Add new file to original directory in other merge parent. File moved to new directory on rebase.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Branch
default
Lint
Lint OK
Unit
Unit Test Errors

Event Timeline

goozie001 created this revision.Aug 22 2017, 6:00 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptAug 22 2017, 6:00 PM
ryanmce requested changes to this revision.Aug 23 2017, 4:51 AM
ryanmce added a subscriber: ryanmce.

Dupe of D481

This revision now requires changes to proceed.Aug 23 2017, 4:51 AM
goozie001 abandoned this revision.Aug 24 2017, 4:52 PM