Re: Git Evolve

2018-11-09 Thread Johannes Schindelin
Hi, On Tue, 2 Oct 2018, Ævar Arnfjörð Bjarmason wrote: > On Tue, Oct 02 2018, Taylor Blau wrote: > > > Hi Stefan, > > > > On Sat, Sep 29, 2018 at 04:00:04PM -0700, Stefan Xenos wrote: > >> Hello, List! > >> > >> I'm interested in porting something like Mercurial's evolve command to > >> Git. > >

Re: Git Evolve

2018-10-31 Thread Stefan Xenos
Sorry it's taken awhile for me to get back to this thread. I've been keeping my open source contributions timeboxed, and had to work through a bit of a backlog before this email thread got back to the front of the queue. > What would the command-line experience look like for this workflow? Be > s

Re: Git Evolve

2018-10-04 Thread Stefan Xenos
Gerrit uses notes and branches of meta-commits internally for its database, but it still uses the change-id footers to associate an uploaded commit with a change within its database. On Thu, Oct 4, 2018 at 9:05 AM, Jakub Narebski wrote: > Junio C Hamano writes: >> Stefan Xenos writes: >> >>> Wh

Re: Git Evolve

2018-10-04 Thread Jakub Narebski
Junio C Hamano writes: > Stefan Xenos writes: > >> What is the evolve command? >> ... >> - Systems like gerrit would no longer need to rely on "change-id" tags >> in commit comments to associate commits with the change that they >> edit, since git itself would have that information. >> ... >> Is

Re: Git Evolve

2018-10-02 Thread Taylor Blau
On Tue, Oct 02, 2018 at 11:11:11AM +0200, Ævar Arnfjörð Bjarmason wrote: You timed this email quite well ;-). > On Tue, Oct 02 2018, Taylor Blau wrote: > > > Hi Stefan, > > > > On Sat, Sep 29, 2018 at 04:00:04PM -0700, Stefan Xenos wrote: > >> Hello, List! > >> > >> I'm interested in porting some

Re: Git Evolve

2018-10-02 Thread Kyle Meyer
Ævar Arnfjörð Bjarmason writes: > On Tue, Oct 02 2018, Taylor Blau wrote: [...] >> Specifically, I've wanted the 'hg absorb' command. My understanding of >> the commands functionality is that it builds a sort of flamegraph-esque >> view of the blame, and then cascades downwards parts of a chang

Re: Git Evolve

2018-10-02 Thread Stefan Xenos
If you're curious how the Mercurial absorb command works, here's the code: https://www.mercurial-scm.org/repo/hg/file/tip/hgext/absorb.py It's GPL 2: https://www.mercurial-scm.org/repo/hg/file/tip/COPYING On Tue, Oct 2, 2018 at 2:11 AM, Ævar Arnfjörð Bjarmason wrote: > > On Tue, Oct 02 2018,

Re: Git Evolve

2018-10-02 Thread Ævar Arnfjörð Bjarmason
On Tue, Oct 02 2018, Taylor Blau wrote: > Hi Stefan, > > On Sat, Sep 29, 2018 at 04:00:04PM -0700, Stefan Xenos wrote: >> Hello, List! >> >> I'm interested in porting something like Mercurial's evolve command to >> Git. > > Welcome to Git :-). I think that the discussion in this thread is good,

Re: Git Evolve

2018-10-01 Thread Taylor Blau
Hi Stefan, On Sat, Sep 29, 2018 at 04:00:04PM -0700, Stefan Xenos wrote: > Hello, List! > > I'm interested in porting something like Mercurial's evolve command to > Git. Welcome to Git :-). I think that the discussion in this thread is good, but it's not why I'm replying. I have also wanted a Mer

Re: Git Evolve

2018-10-01 Thread Derrick Stolee
On 9/29/2018 7:00 PM, Stefan Xenos wrote: Hello, List! Hello! Welcome. I'm interested in porting something like Mercurial's evolve command to Git. I'll be following up with a formal proposal shortly, but before I do I thought I'd introduce myself to the list and find out if anyone else is int

Re: Git Evolve

2018-09-30 Thread Stefan Xenos
> If we lose the Change-Id: footer without adding any new cruft in the > commit object header, that would be a great success. It would > be a failure if we end up touching the object header. Yes, I was thinking along the same lines. If obsolescence graph is stored as part of the commit header, i

Re: Git Evolve

2018-09-29 Thread Junio C Hamano
Stefan Xenos writes: > What is the evolve command? > ... > - Systems like gerrit would no longer need to rely on "change-id" tags > in commit comments to associate commits with the change that they > edit, since git itself would have that information. > ... > Is anyone else interested in this? Pl

Git Evolve

2018-09-29 Thread Stefan Xenos
re under review. Whenever you rebase or amend a commit, the repository remembers that the old commit is obsolete and has been replaced by the new one. Then, at some point in the future, you can run "git evolve" and the correct sequence of rebases will occur in the correct order such th