From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: emacs-w3m? Date: Sat, 27 Feb 2010 12:58:09 +0100 Message-ID: <87ocjayjou.fsf@telefonica.net> References: <3E1D063D-AC8A-4E40-B9F8-6ACA5089C4A7@gmail.com> <873a0p1dqt.fsf@telefonica.net> <87r5o9yr4y.fsf@telefonica.net> <87mxywzx2r.fsf@telefonica.net> <87ocjcejeo.fsf@uwakimon.sk.tsukuba.ac.jp> <83r5o8l3oo.fsf@gnu.org> <873a0nyqjx.fsf@uwakimon.sk.tsukuba.ac.jp> <87sk8nx7ba.fsf@telefonica.net> <83y6iedi2e.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1267271921 15736 80.91.229.12 (27 Feb 2010 11:58:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 27 Feb 2010 11:58:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 27 12:58:37 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NlLJZ-0002pX-Gi for ged-emacs-devel@m.gmane.org; Sat, 27 Feb 2010 12:58:33 +0100 Original-Received: from localhost ([127.0.0.1]:35140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlLJZ-0008Dc-0z for ged-emacs-devel@m.gmane.org; Sat, 27 Feb 2010 06:58:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NlLJS-0008Cd-1e for emacs-devel@gnu.org; Sat, 27 Feb 2010 06:58:26 -0500 Original-Received: from [140.186.70.92] (port=55097 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlLJR-0008CE-A6 for emacs-devel@gnu.org; Sat, 27 Feb 2010 06:58:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NlLJQ-00012o-Pe for emacs-devel@gnu.org; Sat, 27 Feb 2010 06:58:25 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:44234) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlLJQ-00012d-FS for emacs-devel@gnu.org; Sat, 27 Feb 2010 06:58:24 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NlLJN-0002lt-8X for emacs-devel@gnu.org; Sat, 27 Feb 2010 12:58:21 +0100 Original-Received: from 83.32.115.245 ([83.32.115.245]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Feb 2010 12:58:21 +0100 Original-Received: from ofv by 83.32.115.245 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Feb 2010 12:58:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 83.32.115.245 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) Cancel-Lock: sha1:k2hjqaVPNNZnvFESuobhV1DAUNc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:121427 Archived-At: Eli Zaretskii writes: > I think the problem is with the following ``feature'' of "bzr add": > > Adding a file whose parent directory is not versioned will implicitly > add the parent, and so on up to the root. This means you should never > need to explicitly add a directory, they’ll just get added when you > add a file in the directory. > > The second sentence explains the rationale behind this feature. But > in this case, Bob mistakenly added a single file, and that ended up > adding the whole directory. bzr add foo/bar adds `foo/bar' (which implies adding `foo') but does not add other files on the `foo' directory. For that, you need `bzr add foo' or simply `bzr add', wich adds all unknown non-ignored files. > By contrast, "cvs add" is explicitly non-recursive, AFAIR. Yep, which is a PITA if you are using cvs from the command line. > The question is: how do we tell users, and especially non-experienced > ones, to avoid this pitfall? Obviously, discouraging the use of > "bzr add" is a non-starter. IMO the lesson learned on this thread is that we must revise the changes before committing them (big news!). Once you know that a file or directory was added by mistake, a `bzr revert ' will fix the problem right away.