Closed Bug 1503903 Opened 6 years ago Closed 6 years ago

implement "patch" command into moz-phab

Categories

(Conduit :: moz-phab, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glob, Assigned: zalun)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: conduit-story, conduit-triaged)

Attachments

(1 file)

arc's patch command is.. interesting in areas, and relies on arc. we should implement our own 'patch' command in moz-phab. more details to come, but it should accept a revision identifier or url, and provide options to apply the current diff to the corresponding local parent, to the currently active commit, or to head.
Depends on: 1505607
> to apply the current diff hg phabread also supports reading a whole stack of patches in one go.
Assignee: nobody → pzalewa
Blocks: phab-switch
Depends on: 1515328
Attached file Bug 1503903 - Patch revisions r=glob (deleted) —
Three workflows can be used by choosing arguments: - no argument - recreate commits from revisions - --nocommit - display diffs - --nocommit --apply - apply patches but do not commit - requires patch command If run with --force - patches are applied to the current commit. moved self.branch to the new `before_submit` function to allow the `patch` to work from the detached HEAD state.
Attachment #9034960 - Attachment description: Bug 1503903 - Patch revisions r=glob → Bug 1503903 - implement "patch" command r=glob
Blocks: 1519787
Attachment #9034960 - Attachment description: Bug 1503903 - implement "patch" command r=glob → Bug 1503903 - Patch revisions r=glob
Priority: -- → P1
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: