obsolete: add operation metadata to rebase/amend/histedit obsmarkers
By recording what operation created the obsmarker, we can show very intuitive messages to the user in various UIs. For instance, log output could have messages like "Amended as XXX" to show why a commit is old and has an 'x' on it. @ ac28e3 durham / First commit | | o d4afe7 durham | | Second commit | | | x 8e9a5d (Amended as ac28e3) durham |/ First commit |
Showing
- hgext/histedit.py 1 addition, 1 deletionhgext/histedit.py
- hgext/rebase.py 1 addition, 1 deletionhgext/rebase.py
- mercurial/cmdutil.py 1 addition, 1 deletionmercurial/cmdutil.py
- mercurial/obsolete.py 4 additions, 1 deletionmercurial/obsolete.py
- tests/test-histedit-obsolete.t 19 additions, 19 deletionstests/test-histedit-obsolete.t
- tests/test-obsolete.t 10 additions, 10 deletionstests/test-obsolete.t
- tests/test-rebase-obsolete.t 22 additions, 22 deletionstests/test-rebase-obsolete.t
Loading
Please register or sign in to comment