pulkit added inline comments.

INLINE COMMENTS

> shelve.py:181
> +    _shelvedinteractively = 'shelvedinteractively'
> +    _notshelvedinteractively = 'notshelvedinteractively'
>  

We are already in shelve code, so no need to prepend shelved to the name.

Also, we can only had `interactive` stored in the shelved state. If it's not 
present in the state file, we can assume we were not running interactive 
unshelve.

> shelve.py:842
>      # we'll be merging with, rebase it to be on top.
> -    interactive = opts.get('interactive')
> +    interactive = opts.get('interactive', False)
>      if tmpwctx.node() == shelvectx.p1().node() and not interactive:

unrequired change.

> shelve.py:938
>  
> -    if abortf or continuef and not interactive:
> +    if len(shelved) > 1:
> +        raise error.Abort(_('can only unshelve one change at a time'))

This change is unrelated to storing info about interactive in shelvedstate. Can 
you decouple this into a separate patch?

REPOSITORY
  rHG Mercurial

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

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

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

Reply via email to