unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: emacs-w3m?
Date: Fri, 26 Feb 2010 00:59:08 +0100	[thread overview]
Message-ID: <87mxywzx2r.fsf@telefonica.net> (raw)
In-Reply-To: E1NkmYd-0006pk-Rn@fencepost.gnu.org

bob@gnu.org (Robert J. Chassell) writes:

>     Definitely, those files were added with `bzr add'. You did it
>     inadvertently.
>
> I did not.

Yes, you did. Bazaar does not add files without being told so.

> I did a commit and the command must have moved W3M mode
> files in my running Emacs to the master, which I did not intend.  Why is
> that?

Without knowing the precise steps you follow, it's hard to tell.

>  How do I commit one file?

That's explained on

http://www.emacswiki.org/emacs/BzrQuickStartForEmacsDevs

which supposedly you are using as a guide.

The command is

bzr commit one-file another-file ...

but if some of the files are not versioned yet, you need to add them
first:

bzr add one-file

this is why I say that you did a `bzr add' before the commit (this or
your bzr version has a tremendous bug, but I think that that is
unlikely.)

>     Last time I looked, it wasn't a good idea to mix the instructions of
>    those documents. Stick to one or another, but not both.
>
> Where in BzrForEmacsDevs and BzrQuickStartForEmacsDevs does it say that
> you should not commit?  The command is in both.  (I am serious;
> remember, those who wrote BzrForEmacsDevs and BzrQuickStartForEmacsDevs
> tried to explain Bazaar and I thought they did a good job.)

I'm being serious too. You say that you are following the instructions
of *both* documents. And I insist on that you should pick just one.

>     > What are the `unthinkable' ways of removing unwanted files?
>
>     I'm not sure I understand your question. With bzr, you do `bzr
>     uncommit --revision N'. DON'T EVER DO THAT ON A PUBLIC BRANCH ...
>     just in case that setting's implementation has bugs, don't try it.
>
> OK, I won't.  Are you saying that no one has a low-probability-of-error
> method in bzr that removes mistakes?  As Leo said,
>
>    ... if this mistake can happen so easily it will happen again
>
> which is true.

As explained here on the past, pretending to correct an error on bzr is
similar to pretending to correct an error on a e-mail you sent to a
public mailing list. For fixing typos on commit messages and other
meta-information, some tools have mechanisms for amending one commit
with another commit, but the first commit remains there.

As for the mistakes, yes, they happen. We need to try hard to not incur
on them, but they will happen anyways. In this case, a simple `bzr diff'
just before committing would spit a diff 100 K-lines long and you would
notice that something was wrong.

If erroneous commits turns to be a serious problem, we could set up a
gatekeeper(*), although that workflow is a bit more complex than what
we have now.

* http://doc.bazaar.canonical.com/bzr.2.1/en/user-guide/using_gatekeepers.html





  reply	other threads:[~2010-02-25 23:59 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               ` Óscar Fuentes [this message]
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                               ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87mxywzx2r.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).