[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-w3m?
From: |
Óscar Fuentes |
Subject: |
Re: emacs-w3m? |
Date: |
Sat, 27 Feb 2010 12:58:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) |
Eli Zaretskii <address@hidden> 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.
- Re: emacs-w3m?, (continued)
- Re: emacs-w3m?, Robert J. Chassell, 2010/02/25
- Re: emacs-w3m?, Óscar Fuentes, 2010/02/25
- Re: emacs-w3m?, Robert J. Chassell, 2010/02/25
- Re: emacs-w3m?, Stephen J. Turnbull, 2010/02/25
- Re: emacs-w3m?, Miles Bader, 2010/02/26
- Re: emacs-w3m?, Andreas Roehler, 2010/02/26
- Re: emacs-w3m?, Eli Zaretskii, 2010/02/26
- Re: emacs-w3m?, Stephen J. Turnbull, 2010/02/27
- Re: emacs-w3m?, Óscar Fuentes, 2010/02/27
- Re: emacs-w3m?, Eli Zaretskii, 2010/02/27
- Re: emacs-w3m?,
Óscar Fuentes <=
- Re: emacs-w3m?, Stephen J. Turnbull, 2010/02/27
- Re: emacs-w3m?, Eli Zaretskii, 2010/02/27
- Re: emacs-w3m?, Stephen J. Turnbull, 2010/02/27
- Re: emacs-w3m?, Stephen J. Turnbull, 2010/02/27
- Re: emacs-w3m?, Robert J. Chassell, 2010/02/27
- Re: emacs-w3m?, David Reitter, 2010/02/28
- Re: emacs-w3m?, Richard Stallman, 2010/02/28
- Re: emacs-w3m?, Stephen J. Turnbull, 2010/02/28
- Re: emacs-w3m?, Eli Zaretskii, 2010/02/28
- Re: emacs-w3m?, Stefan Monnier, 2010/02/28