all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: emacs-devel@gnu.org
Subject: Bzr help
Date: Fri, 20 Dec 2013 17:53:48 +0100	[thread overview]
Message-ID: <87wqizbh0j.fsf@thinkpad.tsdh.org> (raw)

Hi all,

it seems I've done something wrong, and now I've messed up my checkout a
bit.

I've been documenting another item from etc/NEWS, and committed my
changes (no bound branch).  When I wanted to bzr push, I got a message
that the branches have diverged.

I've done "bzr pull" and "bzr merge" followed by a "bzr commit".  When I
wanted to push then, I got:

--8<---------------cut here---------------start------------->8---
Using saved push location: bzr+ssh://tsdh@bzr.savannah.gnu.org/emacs/trunk/
bzr: ERROR: Server sent an unexpected error: ('error', 'AppendRevisionsOnlyViolation', 'Operation denied because it would change the main history, which is not permitted by the append_revisions_only setting on branch "filtered-172644364:///emacs/trunk/".')
--8<---------------cut here---------------end--------------->8---

With "bzr log" I can see that the commit in between (Bozhidar's rename
of helpers.el to subr-x.el) isn't there separately but it seems like
I've done that myself!

--8<---------------cut here---------------start------------->8---
% bzr log --verbose 
------------------------------------------------------------
revno: 115646 [merge]
committer: Tassilo Horn <tsdh@gnu.org>
branch nick: trunk
timestamp: Fri 2013-12-20 17:28:07 +0100
message:
  merge with trunk
removed:
  lisp/emacs-lisp/helpers.el
added:
  lisp/emacs-lisp/subr-x.el
modified:
  etc/NEWS
  lisp/ChangeLog
------------------------------------------------------------
revno: 115645
committer: Tassilo Horn <tsdh@gnu.org>
branch nick: trunk
timestamp: Fri 2013-12-20 17:24:41 +0100
message:
  Document that =, <, <=, >, >= now accept one or many arguments.
  
  * doc/lispref/numbers.texi (numbers): Document that =, <, <=, >, >= now accept
  one or many arguments.
modified:
  doc/lispref/ChangeLog
  doc/lispref/numbers.texi
  etc/NEWS
------------------------------------------------------------
--8<---------------cut here---------------end--------------->8---

"bzr missing" now shows me Bozhidar's commit.

--8<---------------cut here---------------start------------->8---
You are missing 1 revision:
------------------------------------------------------------
revno: 115646
committer: Bozhidar Batsov <bozhidar@batsov.com>
branch nick: master
timestamp: Fri 2013-12-20 18:37:10 +0200
message:
  * lisp/emacs-lisp/subr-x.el: (string-remove-prefix): New function.
  (string-remove-suffix): New function.
--8<---------------cut here---------------end--------------->8---

Ups, I've thought another "bzr merge" and "bzr commit" would probably
work, but now I have two merge commits on top.

--8<---------------cut here---------------start------------->8---
------------------------------------------------------------
revno: 115647 [merge]
committer: Tassilo Horn <tsdh@gnu.org>
branch nick: trunk
timestamp: Fri 2013-12-20 17:43:23 +0100
message:
  merge again
modified:
  etc/NEWS
  lisp/ChangeLog
  lisp/emacs-lisp/subr-x.el
------------------------------------------------------------
revno: 115646 [merge]
committer: Tassilo Horn <tsdh@gnu.org>
branch nick: trunk
timestamp: Fri 2013-12-20 17:28:07 +0100
message:
  merge with trunk
removed:
  lisp/emacs-lisp/helpers.el
added:
  lisp/emacs-lisp/subr-x.el
modified:
  etc/NEWS
  lisp/ChangeLog
------------------------------------------------------------
revno: 115645
committer: Tassilo Horn <tsdh@gnu.org>
branch nick: trunk
timestamp: Fri 2013-12-20 17:24:41 +0100
message:
  Document that =, <, <=, >, >= now accept one or many arguments.
  
  * doc/lispref/numbers.texi (numbers): Document that =, <, <=, >, >= now accept
  one or many arguments.
modified:
  doc/lispref/ChangeLog
  doc/lispref/numbers.texi
  etc/NEWS
--8<---------------cut here---------------end--------------->8---

Now "bzr missing" tells me I have 3 extra revisions.  It doesn't
complain anymore about Bozhidar's commit missing, although that's still
missing from the log.

How do I get back into a good, pushable state, preferably without losing
my commit 115645 (or at least the changes)?  (I haven't tried pushing in
fear of being able to screw things up.)

And what did I do wrong in the first place?

Thanks,
Tassilo



             reply	other threads:[~2013-12-20 16:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-20 16:53 Tassilo Horn [this message]
2013-12-20 18:05 ` Bzr help Eli Zaretskii
2013-12-20 18:47   ` Tassilo Horn
2013-12-20 20:37     ` Eli Zaretskii

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=87wqizbh0j.fsf@thinkpad.tsdh.org \
    --to=tsdh@gnu.org \
    --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.