how to rename/move a single changeset (named branch)
Uwe Brauer
oub at mat.ucm.es
Fri Oct 11 12:56:34 UTC 2024
Hi
in a published repository the graph looks like this
#+begin_src
○ changeset: 675:6b73f279cb86
│ Branch: default
│ Author: XXX <XXX at XXX.com>
│ Date: Tue, 25 Apr 2023 14:31:57 -0400
│ Phase: public
│ Summary: remove compile warning related to electric-pair-mode handling
│
○ changeset: 674:5712debb751a
│ Branch: master
│ Author: XXX <XXX at XXX.com>
│ Date: Mon, 24 Apr 2023 14:48:55 +0200
│ Phase: public
│ Parent: 672:3958916b7516
│ Summary: Apply patch provided by Peter Mao
│
○ changeset: 672:3958916b7516
│ Branch: default
│ Author: XXX <XXX at XXX.com>
│ Date: Mon, 10 Apr 2023 16:05:31 -0400
│ Phase: public
│ Summary: matlab and org mode example
│
#+end_src
How can I rename/rebase/graft changeset 674 so that it would be part of
the default branch? And best is master would disappear completely????
I know I can rename named branches and then use evolve, but I can only
rename named branch to names that yet are not taken.
Best would if I could get something like this
#+begin_src
○ changeset: YYY:ZZZZ
│ Branch: default
│ Author: XXX <XXX at XXX.com>
│ Date: Tue, 25 Apr 2023 14:31:57 -0400
│ Phase: public
│ Summary: remove compile warning related to electric-pair-mode handling
│
○ changeset: YYY:ZZZZ
│ Branch: default
│ Author: XXX <XXX at XXX.com>
│ Date: Mon, 24 Apr 2023 14:48:55 +0200
│ Phase: public
│ Parent: 672:3958916b7516
│ Summary: Apply patch provided by Peter Mao
│
○ changeset: YYY:ZZZZ
│ Branch: default
│ Author: XXX <XXX at XXX.com>
│ Date: Mon, 10 Apr 2023 16:05:31 -0400
│ Phase: public
│ Summary: matlab and org mode example
│
#+end_src
If you ask you this could happen, well accessing a git repository and
use experimental code that allow to export named branches as git
branches.....
Thanks and regards
Uwe Brauer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5684 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20241011/ea32f746/attachment.p7s>
More information about the Mercurial
mailing list