Submitter | Christian Delahousse |
---|---|
Date | Oct. 7, 2015, 10:19 p.m. |
Message ID | <a4ca3731ba2ccb54d2a5.1444256352@dev4253.prn1.facebook.com> |
Download | mbox | patch |
Permalink | /patch/10902/ |
State | Superseded |
Headers | show
Return-Path: <mercurial-devel-bounces@selenic.com> X-Original-To: patchwork@patchwork.serpentine.com Delivered-To: patchwork@patchwork.serpentine.com Received: from waste.org (waste.org [173.11.57.241]) by bz.selenic.com (Postfix) with ESMTP id CBD033BBCC for <patchwork@patchwork.serpentine.com>; Thu, 8 Oct 2015 18:20:40 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by waste.org (Postfix) with ESMTP id 376CB740CA; Thu, 8 Oct 2015 17:20:38 -0500 (CDT) X-Virus-Scanned: Debian amavisd-new at waste.org Received: from waste.org ([127.0.0.1]) by localhost (waste.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Vo0s6rvyVQwx; Thu, 8 Oct 2015 17:20:38 -0500 (CDT) Received: from waste.org (localhost [127.0.0.1]) by waste.org (Postfix) with ESMTP id D75F2740D3; Thu, 8 Oct 2015 17:18:36 -0500 (CDT) X-Original-To: mercurial-devel@waste.org Delivered-To: mercurial-devel@waste.org Received: from localhost (localhost [127.0.0.1]) by waste.org (Postfix) with ESMTP id 5F4BB740CE for <mercurial-devel@waste.org>; Wed, 7 Oct 2015 17:19:51 -0500 (CDT) X-Virus-Scanned: Debian amavisd-new at waste.org Received: from waste.org ([127.0.0.1]) by localhost (waste.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XST+KW1m-VnB for <mercurial-devel@waste.org>; Wed, 7 Oct 2015 17:19:50 -0500 (CDT) Received: from mx0b-00082601.pphosted.com (mx0b-00082601.pphosted.com [67.231.153.30]) by waste.org (Postfix) with ESMTPS id 6D74B740CA for <mercurial-devel@selenic.com>; Wed, 7 Oct 2015 17:19:39 -0500 (CDT) Received: from pps.filterd (m0001255 [127.0.0.1]) by mx0b-00082601.pphosted.com (8.14.5/8.14.5) with SMTP id t97MBGng001766 for <mercurial-devel@selenic.com>; Wed, 7 Oct 2015 15:19:38 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fb.com; h=content-type : mime-version : content-transfer-encoding : subject : message-id : date : from : to : cc; s=facebook; bh=IDuT1bZU6yyGyCwpTmBCTUF5Vb8K97IcJtjJV9H81zI=; b=DS+aM/C4v0xXJfGdz7NrzWTW38PNlaV/o0erhV175k4ynXb81FzHhvLT/V8Q7PKwCmLJ I47GztoEpB3hER2LSMK6ynC/grDku7PqWugdhv/piLZhS4Gdni34HRdraVrxgxWygPuZ SbGcoBMBXPi4bycdlc9z98BfUgpjSg4zaMg= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0b-00082601.pphosted.com with ESMTP id 1xdb7er76j-20 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for <mercurial-devel@selenic.com>; Wed, 07 Oct 2015 15:19:38 -0700 Received: from mx-out.facebook.com (192.168.52.123) by PRN-CHUB08.TheFacebook.com (192.168.16.18) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 7 Oct 2015 15:19:15 -0700 Received: from dev4253.prn1.facebook.com (2401:db00:11:d0cd:face:0:23:0) by mx-out.facebook.com (10.212.232.63) with ESMTP id 714d84406d4111e5975c0002c992ebde-78dfd240 for <mercurial-devel@selenic.com>; Wed, 07 Oct 2015 15:19:14 -0700 MIME-Version: 1.0 Subject: [PATCH 1 of 3] histedit: add inprogress method to state class X-Mercurial-Node: a4ca3731ba2ccb54d2a549876fa74f55a84216bb X-Mercurial-Series-Index: 1 X-Mercurial-Series-Total: 3 Message-ID: <a4ca3731ba2ccb54d2a5.1444256352@dev4253.prn1.facebook.com> X-Mercurial-Series-Id: <a4ca3731ba2ccb54d2a5.1444256352@dev4253.prn1.facebook.com> User-Agent: Mercurial-patchbomb/3.5.1+445-46c62473df5c Date: Wed, 7 Oct 2015 15:19:12 -0700 From: Christian Delahousse <cdelahousse@fb.com> To: <mercurial-devel@selenic.com> X-FB-Internal: Safe X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33, 0.0.0000 definitions=2015-10-08_01:2015-10-07, 2015-10-07, 1970-01-01 signatures=0 X-Mailman-Approved-At: Thu, 08 Oct 2015 17:18:34 -0500 Cc: cdelahousse@fb.com X-BeenThere: mercurial-devel@selenic.com X-Mailman-Version: 2.1.18 Precedence: list List-Id: <mercurial-devel.selenic.com> List-Unsubscribe: <https://selenic.com/mailman/options/mercurial-devel>, <mailto:mercurial-devel-request@selenic.com?subject=unsubscribe> List-Archive: <http://selenic.com/pipermail/mercurial-devel/> List-Post: <mailto:mercurial-devel@selenic.com> List-Help: <mailto:mercurial-devel-request@selenic.com?subject=help> List-Subscribe: <https://selenic.com/mailman/listinfo/mercurial-devel>, <mailto:mercurial-devel-request@selenic.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: mercurial-devel-bounces@selenic.com Sender: "Mercurial-devel" <mercurial-devel-bounces@selenic.com> |
Comments
Christian Delahousse - Oct. 7, 2015, 10:19 p.m.
Patch
diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -312,6 +312,9 @@ def clear(self): self.repo.vfs.unlink('histedit-state') + def inprogress(self): + return self.repo.vfs.exists('histedit-state') + class histeditaction(object): def __init__(self, state, node): self.state = state