[issue1495] mq: qpush fails with .hgignore and empty file

OHASHI Hideya mercurial-bugs at selenic.com
Fri Jan 30 23:49:54 CST 2009


New submission from OHASHI Hideya <ohachige at gmail.com>:

I'm using mercurial-crew tip version.
Here is a simple reproducing script.

$ cat a.sh
#!/bin/sh
hg init a
cd a
touch a
echo "syntax: glob" >.hgignore
hg addremove
hg ci -m a
hg qinit
hg qnew a
echo "b" >>.hgignore
echo "a" >>a
touch b
hg add b
hg qref
hg qpop
hg qpush

$ sh a.sh
adding .hgignore
adding a
Patch queue now empty
applying a
1 out of 1 hunk ignored -- saving rejects to file .hgignore.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
Errors during apply, please fix and refresh a

$ hg version
Mercurial Distributed SCM (version a1138f437640)

Copyright (C) 2005-2008 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

----------
messages: 8540
nosy: ohachige
priority: bug
status: unread
title: mq: qpush fails with .hgignore and empty file

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1495>
____________________________________________________



More information about the Mercurial-devel mailing list