[patch 2/9] Change repo.comit to return a (err, changeset) tuple

Matt Mackall mpm at selenic.com
Sun Jul 17 02:06:18 UTC 2005


On Sat, Jul 16, 2005 at 03:22:01PM -0400, Chris Mason wrote:
> # HG changeset patch
> # User mason at suse.com
> 
> Change repo.comit to return a (err, changeset) tuple 
> 
> This allows the caller to correctly record the new revision number

Not sure I like this one. Can't the caller just check what the tip is
after the fact? Or change it so it returns changeset || None?

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list