Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 04009183B4 for ; Tue, 21 Jul 2015 08:38:36 +0000 (UTC) Received: (qmail 81989 invoked by uid 500); 21 Jul 2015 08:38:23 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 81959 invoked by uid 500); 21 Jul 2015 08:38:23 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 81938 invoked by uid 99); 21 Jul 2015 08:38:22 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2015 08:38:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6194C18A750 for ; Tue, 21 Jul 2015 08:38:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 0rXA-hj3hNmA for ; Tue, 21 Jul 2015 08:38:15 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 71CB424DBC for ; Tue, 21 Jul 2015 08:38:14 +0000 (UTC) Received: from [195.135.221.2] by 3capp-gmx-bs43.server.lan (via HTTP); Tue, 21 Jul 2015 10:38:07 +0200 MIME-Version: 1.0 Message-ID: From: "Andreas Stieger" To: "Grierson, David" Cc: =?UTF-8?Q?=E7=89=9B=E6=9A=81=E5=86=AC?= , "users@subversion.apache.org" Subject: Re: Feature request: Save the old file when svn revert Content-Type: text/plain; charset=UTF-8 Date: Tue, 21 Jul 2015 10:38:07 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <841FE3240F12C441AF08EABCD5B00AFB65168CE5@CHIXMBX04.bskyb.com> References: , <841FE3240F12C441AF08EABCD5B00AFB65168CE5@CHIXMBX04.bskyb.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K0:SKiNdvORdJS6hHdlD2Rn7/Rd48xT+A0E6T2DyxUi/hX inDtkWvgu1yX5ur879XE633WLWdaZDUsv43eE9q2L/EXqgDvgP n4ZloG4ma1PxiklOAnVDusVo7b3gteqpMKpXVPekjqG6B5P61e 5pDN3kqFq6qHzL4wuJSKVocve0iSaIqVvGu33X4nh60qHwFSEj hmzVCs07Net2/2Xn18sv5/KiUx3as4MPa8S1s6dVE1LDCsqFBe 9grL7IcoGnLPYwtVTxk+uURGt4gbn/A3yZSL0UgSLrbXhANxLM JTUjOc= X-UI-Out-Filterresults: notjunk:1;V01:K0:Iu+P+7enDwQ=:wnbWzMmlgvhgP4IhxV1jGL sv98lyrMsfub4pGW+qth8EfnNOHP9Kk/lpLkjG03rs+p+HL2276E1gkXx8gwdFOMtQsew54de t68DuEGPsynyuBmVxFEr2EFLehzT5disFkMcnkVt34rFWzzLaKbUkTOICWBVXHOBn8FcwLydY ISrm4w+4FrXh+1GKq23ranPOMx85WmzohrZ/VWP0MwuWCS+GeXee9fKh92g57+KUYJMTv0mT/ xM7tSw4b7L3Ig2xkLiCP6e/C0Adw0Z3uvfnMRcDIaLLK70LH7tFlb3RqtCADf+Bm0b4EL7/fb n64zaGiTYVEEv7Zig+GsmqCTFWgUWUphJxeBw0DXsUrwd3quXNiqpDp/yoJgvyUbe1hWPxLRD 2n69SRfgIlfzWtbJPfrg/J6cS9COjnGElMhhVEDXRv3h//ZolvXcvvBmJXtpFF3ZwPyXOc8/v V4FSBPUPxQ== Hello, David Grierson wrote: > > "svn revert" will delete the local changes and nowhere to find, which > > is dangerous. > > I suggest the default behaiver should be save the local changed > > file(if any) to "filename.local" and do the revert. > > > That's actually not a bad idea ... I've been burnt by this one a couple of times myself. > > Probably worth raising it with the dev@subversion.apache.org list to see if it's something that they've considered previously. Actually a feature in at least one GUI client: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-settings.html#tsvn-dug-settings-dialogs Otherwise it's rather platform specific to implement, and may be better suited for integrated clients. Andreas