[PATCH 1 of 4] imported patch flags

Matt Mackall mpm at selenic.com
Tue Jun 22 11:24:02 CDT 2010


On Tue, 2010-06-22 at 13:01 +0530, Pradeepkumar Gayam wrote:
> # HG changeset patch
> # User Pradeepkumar Gayam <in3xes at gmail.com>
> # Date 1277183801 -19800
> # Node ID 466d7fb61dca5cb1e54e4e38fb941fba1a5d0909
> # Parent  7a6ac83a15b08324c45aa43b27e8f83c51479e51
> imported patch flags

Congratulations, you found some low-hanging fruit.

>          # check rev flags
> -        if self.index[rev][0] & 0xFFFF:
> +        if self.flags(rev) & ~1:

Let's get a KNOWN_FLAGS here rather than 1.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list