[PATCH RESEND] templater: support using templates with non-standard names from map file
Kevin Bullock
kbullock+mercurial at ringworld.org
Fri Sep 6 22:56:21 CDT 2013
On 6 Sep 2013, at 2:35 PM, Augie Fackler wrote:
> On Fri, Sep 6, 2013 at 3:34 PM, Alexander Plavin <alexander at plav.in> wrote:
>> Nice suggestion, to subclass Abort - didn't think of it. And if that is 'at a minimum', what would be the (more) optimal solution?
>
> A more optimal solution would be to not subclass abort, and make
> clients of the templater that want to abort on a templater failure do
> so explicitly.
I'd be okay with the minimum-disruption solution for the purpose of this patch -- raising util.Abort in the bowels of the templater (and other places IIRC?) is a bigger target than this patch needs to take on. We should tackle it at some point though.
pacem in terris / мир / शान्ति / سَلاَم / 平和
Kevin R. Bullock
More information about the Mercurial-devel
mailing list