all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: emacs-w3m?
Date: Sat, 27 Feb 2010 12:58:09 +0100	[thread overview]
Message-ID: <87ocjayjou.fsf@telefonica.net> (raw)
In-Reply-To: 83y6iedi2e.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> 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 <name>' will fix the
problem right away.





  reply	other threads:[~2010-02-27 11:58 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                             ` Óscar Fuentes [this message]
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                               ` emacs-w3m? Stephen J. Turnbull
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=87ocjayjou.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=emacs-devel@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.