pulkit added a comment.

  Can you describe the feature a bit in the commit message. Specific things 
which I feel are missing:
  
  - what happens to wdir changes
  - what happens if source is a commit is not a head
  
  I understand them but after reading the tests, so might be worth to add them 
to description.
  
  Also, it will be nice if you add an entry in releasenotes.

INLINE COMMENTS

> absorb.py:993
>              raise error.Abort(_(b'cannot absorb into a merge'))
> +        if len(targetctx.parents()) > 1:
> +            raise error.Abort(_(b'cannot absorb a merge'))

need to do more checks here about being public commit etc. 
`rewriteutil.precheck` should help.

> test-absorb-rev.t:73
> +
> +  $ grep 6 a
> +  6

`hg status|diff` should be a better command here.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7631/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7631

To: rdamazio, #hg-reviewers
Cc: pulkit, quark, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to