Package: mercurial
Version: 1.0.1-5.1
Severity: important
Justification: leaves repository in unuseable state
Tags: upstream
Forwarded: http://www.selenic.com/mercurial/bts/issue1152

Hi,

To work with the mq extension it is essential that "git mode" is enabled for 
diff:

$ cat ~/.hgrc
[diff]
git=True

Otherwise, mq fails to track renames of files, crashes badly on "hg 
qrefresh" and leaves the repository in an unuseable state.

Example output is on <http://www.selenic.com/mercurial/bts/issue1152> (not 
by me.)  The issue is closed in the mercurial bts, but without digging the 
patch out of mercurial's hg I didn't see how they closed it or in which 
version.  It certainly hit me with 1.0.1-5.1.

Giving an error if diffs git mode is not enabled would be accectable not not 
ideal.  Always enabling git mode would be easy.  Always enabling the git 
mode inside mq would probably be the ideal (and invisible to the user) fix.  
Leaving the directory in unuseable state is certainly not acceptable.  (I 
wondered if this should be RC, but I figured mq is "just" an extension, 
so ...)

cheers & thanks
-- vbi

-- 
Or is it?

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to