Using hg-git, how to cleanup after bad push to github

Ernie Rael errael at raelity.com
Thu Oct 5 18:30:28 UTC 2023


Hi all,

I did a push to a github repo, a fork, and left out the "-B"; other 
things were done. See below for what I'd like github to look like; in 
particular remove the two pruned changesets, 18835 and 18829, from the 
github repo. I guess it's just annoying more than anything else.

Is there a way to clean up the github repo using hg-git? If not, any 
suggestions on something to look at to easily get this done? Can I use 
"<mylocalrepo>/.hg/git"?

-ernie

o  changeset:   18841:76a07b084276
|  bookmark:    LOCAL_DEBUG_MAKEFILE
|  tag:         tip
|  user:        Ernie Rael <errael at raelity.com>
|  date:        Mon Aug 21 07:16:59 2023 -0700
|  summary:     LOCAL_DEBUG_MAKEFILE
|
o  changeset:   18840:adeb4400a922
|  bookmark:    MsgVarDefiningClass
|  parent:      18834:39523d22b15d
|  user:        Ernie Rael <errael at raelity.com>
|  date:        Tue Oct 03 19:38:44 2023 -0700
|  summary:     Use defining class in variable access error messages.
|
| o  changeset:   18837:0e20fc19cb17
|/   bookmark:    ForeachExpr1Expr2
|    parent:      18834:39523d22b15d
|    user:        Ernie Rael <errael at raelity.com>
|    date:        Wed Mar 15 20:14:10 2023 -0700
|    summary:     Implement foreach({expr1}, {expr2})
|
| x  changeset:   18835:0d50de48e9b0
|/|  tag:         default/master
| |  parent:      18829:acb36821c198
| |  parent:      18834:39523d22b15d
| |  user:        errael <errael at raelity.com>
| |  date:        Thu Oct 05 08:59:56 2023 -0700
| |  obsolete:    pruned
| |  summary:     Merge branch 'vim:master' into master
| |
@ |  changeset:   18834:39523d22b15d
| |  bookmark:    real-master
| |  user:        Christian Brabandt <cb at 256bit.org>
| |  date:        Wed Oct 04 21:58:24 2023 +0200
| |  summary:     patch 9.0.1984: CI: Test_open_delay*() fails on FreeBSD 14
| |
o |  changeset:   18833:56947cb3f4f1
| |  user:        zeertzjq <zeertzjq at outlook.com>
| |  date:        Wed Oct 04 21:45:33 2023 +0200
| |  summary:     patch 9.0.1983: scrolling inactive window not possible 
with cursorbind
| |
o |  changeset:   18832:1d19383b843c
| |  parent:      18819:0c8f51a5af44
| |  user:        yasuda <yasuda at kyoto-sr.co.jp>
| |  date:        Wed Oct 04 20:50:35 2023 +0200
| |  summary:     runtime(netrw): error when trying to :bd unloaded buffer
| |
+---x  changeset:   18830:3cfde4bbc21e
| |    tag:         default/MsgVarDefiningClass
| |    parent:      18819:0c8f51a5af44
| |    user:        Ernie Rael <errael at raelity.com>
| |    date:        Tue Oct 03 19:38:44 2023 -0700
| |    obsolete:    rewritten using amend, rebase as 18840:adeb4400a922
| |    summary:     Use defining class in variable access error messages.
| |
| x  changeset:   18829:acb36821c198
|/   bookmark:    TwoMessages
|    tag:         default/TwoMessages
|    parent:      18819:0c8f51a5af44
|    user:        Ernie Rael <errael at raelity.com>
|    date:        Wed Oct 04 19:27:01 2023 -0700
|    obsolete:    pruned using prune
|    summary:     Avoid two messages for same error.
|
o  changeset:   18819:0c8f51a5af44
|  user:        Ernie Rael <errael at raelity.com>
|  date:        Wed Oct 04 20:16:22 2023 +0200
|  summary:     patch 9.0.1982: vim9: clean up from v9.0.1955




More information about the Mercurial mailing list