How To Create Patch Series On Mercurial And Git - Redmine
⚲
Project
General
Profile
- Sign in
- Register
- Home
- Projects
- Help
- Overview
- Download
- Activity
- Roadmap
- Issues
- News
- Wiki
- Forums
- Repository
Latest releases¶
5.0.14 (2025-09-21)5.1.10 (2025-09-21)6.0.7 (2025-09-21)6.1.0 (2025-09-21)
Resources¶
User's GuideDeveloper's GuideChangelog, SecurityFAQ, HowTo'sPlugins, ThemesPrivacy Policy
Wiki
- Start page
- Index by title
- Index by date
Contribute »
How to create patch series on Mercurial and Git¶Mercurial¶
You can use "hg export".
$ hg log -l 2 changeset: 8260:d0d25df3c46b branch: git-fetch-20120316-original tag: tip user: test date: Fri Mar 16 11:25:26 2012 +0900 summary: Process new git revisions all at once rather than per changeset: 8259:30d69339f9a2 branch: git-fetch-20120316-original user: test date: Fri Mar 16 11:25:10 2012 +0900 summary: Pass revisions to git-log via stdin $ hg export -r 8259:8260 > example.diffGit¶
You can use "git format-patch".
$ git log -n 2 | cat commit 3137eff804b0fc35b03e5c9c3ff574617f8a5bc7 Author: test Date: Fri Mar 16 19:06:15 2012 +0900 Process new git revisions all at once rather than per commit 21a480dd6e08f3c3cce54e1d6ee4c05b0dd59daa Author: test Date: Fri Mar 16 19:06:14 2012 +0900 Pass revisions to git-log via stdin $ git format-patch -k --stdout 21a480dd6e08f^..3137eff804b0fc35 > example-mbox-git.diff Files (0)Updated by Toshi MARUYAMA almost 14 years ago · 2 revisions
Powered by Redmine © 2006-2023 Jean-Philippe Lang Loading...Từ khóa » Hg 2 Git
-
Migrating To Git
-
Convert Mercurial Project To Git [duplicate] - Stack Overflow
-
How To Convert A Mercurial Repository To Git On Windows
-
Hg-Git Mercurial Plugin
-
Convert A Mercurial Repository To Git Using Hg-fast-export - DZone
-
Mercurial To Git Bridge, Pushed To Directly From The Hg-git Plugin In Hg
-
A Git-hg Utility For Checking Out And Tracking A Mercurial Repo. - GitHub
-
Hg-git - PyPI
-
What I Learnt Migrating To Git From Mercurial (updated June 2020)
-
Mercurial Vs. Git: How Are They Different? - Perforce Software
-
Mercurial SCM
-
Hg-git Package : Ubuntu - Launchpad
-
Migrating 140000 Commits From Mercurial To Git - Medium
-
PEP 512 – Migrating From To GitHub