[Python-apps-team] Bug#503997: mq extension: needs git diffs

Adrian von Bidder avbidder at fortytwo.ch
Thu Oct 30 11:03:19 UTC 2008


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 388 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20081030/403df0da/attachment.pgp 


More information about the Python-apps-team mailing list