Bug 5631 - Add no-commit mode to hg graft
Summary: Add no-commit mode to hg graft
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 4.1.2
Hardware: All All
: wish feature
Assignee: Bugzilla
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2017-07-25 14:05 UTC by Alex Gaynor
Modified: 2018-07-05 00:00 UTC (History)
5 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Gaynor 2017-07-25 14:05 UTC
This would be similar to `git cherry-pick --no-commit`. It would perform the graft on the working dir, but not actually create a commit.
Comment 1 Bugzilla 2018-01-26 00:00 UTC
Bug was inactive for 150 days, archiving
Comment 2 Sushil khanchi 2018-02-22 15:21 UTC
Okay, So I think what this ``no-commit`` option will do is:
1. Apply all the changes in working dir from target changeset
2. And don't commit these changes, right?
Let me give it a try ;)
Comment 3 Augie Fackler 2018-02-22 20:00 UTC
Yes, that sounds right to me.
Comment 4 Pavan Hegde 2018-03-23 11:32 UTC
I wanted some help in understanding the codebase
Comment 5 HG Bot 2018-06-27 10:55 UTC
Fixed by https://mercurial-scm.org/repo/hg/rev/622f79e3a1cb
Sushil khanchi <sushilkhanchi97@gmail.com>
graft: add no-commit mode (issue5631)

This patch adds a new flag --no-commit in graft command. This feature
grafts the changes but do not create commits for those changes, grafted
changes will be added in the working directory. Also added tests to reflect
the expected behavior.

Differential Revision: https://phab.mercurial-scm.org/D2409

(please test the fix)
Comment 6 Bugzilla 2018-07-05 00:00 UTC
Bug was set to TESTING for 7 days, resolving