[PATCH] push: hg should provide hint when no paths configured (issue3692)

Matt Mackall mpm at selenic.com
Tue Feb 11 12:03:00 CST 2014


On Wed, 2014-02-12 at 01:24 +0530, Anurag Goel wrote:
> For the above patch, i have fixed the changes which you told me to do so
> and also run the test suits but get some weird result.
> 
> When I type "make tests" ,it stuck into some loop but when i test each file
> individually, it works fine.
> 
> My query is how did you get that i hadn't run the test suite and what do
> mean by phrase "just let the Abort command span multiple lines" ?

The test suite runs check-code, which checks your coding style. That
line contains a coding style error.

You could have written this as:

raise util.Abort(_("some long string...."),
                 hint=_("some other long string"))

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list