all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: rms@gnu.org
Cc: ofv@wanadoo.es, Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: emacs-w3m?
Date: Mon, 01 Mar 2010 01:34:47 +0900	[thread overview]
Message-ID: <87iq9hxqs8.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <E1NlkgH-0000bk-2s@fencepost.gnu.org>

Richard Stallman writes:
 >       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.  By contrast, "cvs add" is explicitly
 >     non-recursive, AFAIR.
 > 
 > The feature is clearly a convenience in the case where you are not
 > making a mistake.  Should `bzr add' ask for confirmation before doing
 > this?

No.

The feature described above doesn't invite mistakes.  Both a careful
reading of the documentation, and experimentation with bzr, indicate
that it adds (a) the files requested on the command line, and (b) the
parent directories, and nothing else.

The implicit "add everything" command, "bzr add", is somewhat
dangerous, but that feature is really only useful when importing a new
project, ie, in the idiom "bzr init; bzr add".  To add new files to an
existing project, it's almost always preferable to use an explicit
argument, because there is very often junk like test files or personal
notes that it would pick up.  Usually either a single file name, a
single glob, or "." (meaning "everything in this subdirectory", such
as when adding a large package like CEDET to Emacs) is sufficient.
Those are hardly inconvenient.






  reply	other threads:[~2010-02-28 16:34 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-24 23:02 emacs-w3m? Katsumi Yamaoka
2010-02-24 23:32 ` emacs-w3m? Andreas Schwab
2010-02-25  2:11 ` emacs-w3m? Robert J. Chassell
2010-02-25 15:26   ` emacs-w3m? David Reitter
2010-02-25 16:10     ` emacs-w3m? Leo
2010-02-25 16:28       ` emacs-w3m? Óscar Fuentes
2010-02-25 19:31         ` emacs-w3m? bob
2010-02-25 20:52           ` emacs-w3m? Óscar Fuentes
2010-02-25 22:51             ` emacs-w3m? Robert J. Chassell
2010-02-25 23:59               ` emacs-w3m? Óscar Fuentes
2010-02-26  2:17                 ` emacs-w3m? Robert J. Chassell
2010-02-26  3:59                   ` emacs-w3m? Stephen J. Turnbull
2010-02-26  6:53                     ` emacs-w3m? Miles Bader
2010-02-26  9:13                       ` emacs-w3m? Andreas Roehler
2010-02-26  9:57                     ` emacs-w3m? Eli Zaretskii
2010-02-27  9:29                       ` emacs-w3m? Stephen J. Turnbull
2010-02-27 11:10                         ` emacs-w3m? Óscar Fuentes
2010-02-27 11:38                           ` emacs-w3m? Eli Zaretskii
2010-02-27 11:58                             ` emacs-w3m? Óscar Fuentes
2010-02-27 12:57                             ` emacs-w3m? Stephen J. Turnbull
2010-02-27 12:59                               ` emacs-w3m? Eli Zaretskii
2010-02-27 15:23                                 ` emacs-w3m? Stephen J. Turnbull
2010-02-27 15:34                                 ` emacs-w3m? Stephen J. Turnbull
2010-02-27 17:13                                   ` emacs-w3m? Robert J. Chassell
2010-02-28 23:11                                     ` emacs-w3m? David Reitter
2010-02-28 15:03                             ` emacs-w3m? Richard Stallman
2010-02-28 16:34                               ` Stephen J. Turnbull [this message]
2010-02-28 17:10                               ` emacs-w3m? Eli Zaretskii
2010-02-28 20:45                               ` emacs-w3m? Stefan Monnier
2010-03-01  2:42                                 ` emacs-w3m? Miles Bader
2010-03-01  4:56                                   ` emacs-w3m? Stefan Monnier
2010-03-01  7:06                                     ` emacs-w3m? Miles Bader
2010-03-01 17:13                                       ` emacs-w3m? Eli Zaretskii
2010-03-02 17:39                                         ` emacs-w3m? Richard Stallman
2010-03-02 18:07                                           ` emacs-w3m? Eli Zaretskii
2010-02-27 12:43                           ` emacs-w3m? Stephen J. Turnbull
2010-02-26  9:17                   ` emacs-w3m? Andreas Schwab
2010-02-26  9:18                   ` emacs-w3m? Eli Zaretskii
2010-02-26 11:47                     ` emacs-w3m? Robert J. Chassell
2010-02-26 14:51                       ` emacs-w3m? Eli Zaretskii
2010-02-26 16:59                         ` emacs-w3m? Robert J. Chassell
2010-02-26 17:35                           ` emacs-w3m? Eli Zaretskii
2010-02-26 21:50                             ` emacs-w3m? Robert J. Chassell
2010-02-26 23:46                               ` emacs-w3m? Eli Zaretskii
2010-02-27  1:37                                 ` emacs-w3m? Robert J. Chassell
2010-02-27  2:45                                   ` emacs-w3m? David De La Harpe Golden
2010-02-27 10:53                                     ` emacs-w3m? Robert J. Chassell
2010-02-27 11:43                           ` emacs-w3m? Eli Zaretskii
2010-02-27 16:30                             ` emacs-w3m? Robert J. Chassell
2010-02-26 13:13                   ` emacs-w3m? Óscar Fuentes
2010-02-26  6:01       ` emacs-w3m? Richard Stallman
2010-02-25 16:24     ` emacs-w3m? Andreas Schwab
2010-02-25 16:29       ` emacs-w3m? Óscar Fuentes
2010-02-25 16:39       ` emacs-w3m? David Reitter
2010-02-25 16:50         ` emacs-w3m? Andreas Schwab
2010-02-25 17:10         ` emacs-w3m? Stephen J. Turnbull
2010-02-25 18:20           ` emacs-w3m? Andreas Roehler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iq9hxqs8.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=ofv@wanadoo.es \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.