patch failed, unable to continue

Matt Mackall mpm at selenic.com
Thu Feb 23 17:08:12 UTC 2012


On Thu, 2012-02-23 at 00:57 -0800, Mahmood Naderan wrote:
> Hi,When I run "qpush -a" to apply my patches, I get several errors. I have to say, prior to qpush, I ran these commands:
> 
> hg qinit -c
> hg qnew mahmood
> // modify a file src/mem/cache/BaseCache.py
> hg qrefresh
> hg qpop -a
> hg pull
> // found some changes
> hg update
> 
> After that I ran "hg qpush -a" to apply my own patch:
> applying mahmood
> ...
> patching file src/mem/cache/BaseCache.py
> Hunk #1 FAILED at 29
> Hunk #2 FAILED at 65
> 2 out of 2 hunks FAILED -- saving rejects to file src/mem/cache/BaseCache.py.rej
> ....
> patch failed, unable to continue (try -v)
> patch failed, rejects left in working dir
> errors during apply, please fix and refresh mahmood
> 
> 
> So what should I do now? What does that mean?

Read this:

http://mercurial.selenic.com/wiki/HandlingRejects

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list