emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Branch "next" garbled
@ 2018-10-03 11:45 Marco Wahl
  2018-10-03 16:47 ` Nicolas Goaziou
  2018-10-03 20:46 ` Uwe Koloska
  0 siblings, 2 replies; 6+ messages in thread
From: Marco Wahl @ 2018-10-03 11:45 UTC (permalink / raw)
  To: emacs-orgmode

Hello fellow Orgers,

This is more an internal issue about the repo and in particular the
"next" branch.

My git fu was not strong enough and so the "next" branch is a bit messy
right now.  (I tried to activate a local clean version of the "next"
branch.)

I thought I could easily rollback the mess I created by going back to
the git node 3c8fd4fa7 which is the last git node before my activities.

The command I used is

    git revert 3c8fd4fa7

Unfortunately this did not revert the repo to that node.

Can someone help to clean up the "next" branch, please?


Thanks and apologies,
-- 
Marco

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Branch "next" garbled
  2018-10-03 11:45 Branch "next" garbled Marco Wahl
@ 2018-10-03 16:47 ` Nicolas Goaziou
  2018-10-03 20:21   ` Marco Wahl
  2018-10-12  1:44   ` Adrian Bradd
  2018-10-03 20:46 ` Uwe Koloska
  1 sibling, 2 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2018-10-03 16:47 UTC (permalink / raw)
  To: Marco Wahl; +Cc: emacs-orgmode

Hello,

Marco Wahl <marcowahlsoft@gmail.com> writes:

> Hello fellow Orgers,
>
> This is more an internal issue about the repo and in particular the
> "next" branch.
>
> My git fu was not strong enough and so the "next" branch is a bit messy
> right now.  (I tried to activate a local clean version of the "next"
> branch.)
>
> I thought I could easily rollback the mess I created by going back to
> the git node 3c8fd4fa7 which is the last git node before my activities.
>
> The command I used is
>
>     git revert 3c8fd4fa7
>
> Unfortunately this did not revert the repo to that node.
>
> Can someone help to clean up the "next" branch, please?

I think I cleaned it.

To prevent further complications with this branch, I suggest to treat is
like master and master like maint. I.e., every commit done in master is
duplicated into next so that final merge is easier.

WDYT?

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Branch "next" garbled
  2018-10-03 16:47 ` Nicolas Goaziou
@ 2018-10-03 20:21   ` Marco Wahl
  2018-10-12  1:44   ` Adrian Bradd
  1 sibling, 0 replies; 6+ messages in thread
From: Marco Wahl @ 2018-10-03 20:21 UTC (permalink / raw)
  To: emacs-orgmode

>> My git fu was not strong enough and so the "next" branch is a bit messy
>> right now.  (I tried to activate a local clean version of the "next"
>> branch.)

>> [...]

>> Can someone help to clean up the "next" branch, please?
>
> I think I cleaned it.

Thank you so much!

> To prevent further complications with this branch, I suggest to treat is
> like master and master like maint. I.e., every commit done in master is
> duplicated into next so that final merge is easier.

> WDYT?

This is a clear rule, which is easy to follow and easy to remember (at
least for me).  I love this!


Thanks and best regards,
                        Marco

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Branch "next" garbled
  2018-10-03 11:45 Branch "next" garbled Marco Wahl
  2018-10-03 16:47 ` Nicolas Goaziou
@ 2018-10-03 20:46 ` Uwe Koloska
  1 sibling, 0 replies; 6+ messages in thread
From: Uwe Koloska @ 2018-10-03 20:46 UTC (permalink / raw)
  To: emacs-orgmode

Am 03.10.18 um 13:45 schrieb Marco Wahl:
> My git fu was not strong enough and so the "next" branch is a bit messy
> right now.  (I tried to activate a local clean version of the "next"
> branch.)
> 
> I thought I could easily rollback the mess I created by going back to
> the git node 3c8fd4fa7 which is the last git node before my activities.
> 
> The command I used is
> 
>     git revert 3c8fd4fa7
> 
> Unfortunately this did not revert the repo to that node.

To make your git fu a bit stronger, let me explain this:

'git revert' creates a new commit, that reverses the changes from the
given commit, so it's not, what you have had in mind (and what is common
for SCMs like SVN where you cannot rewrite the history). You are looking
for 'git reset':
  https://git-scm.com/book/en/v2/Git-Tools-Reset-Demystified


There are other ways, to achieve the same result:

Just rename the branch and checkout a new one with the old name at the
given commit. That gives you a nice backup for free.

Or utilize the 'reflog':
  http://gitready.com/intermediate/2009/02/09/reflog-your-safety-net.html

Hope this helps
Uwe

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Branch "next" garbled
  2018-10-03 16:47 ` Nicolas Goaziou
  2018-10-03 20:21   ` Marco Wahl
@ 2018-10-12  1:44   ` Adrian Bradd
  2018-10-12  3:17     ` Kaushal Modi
  1 sibling, 1 reply; 6+ messages in thread
From: Adrian Bradd @ 2018-10-12  1:44 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Marco Wahl, emacs-orgmode


Hi all,

> To prevent further complications with this branch, I suggest to 
> treat is
> like master and master like maint. I.e., every commit done in 
> master is
> duplicated into next so that final merge is easier.

Sorry if this is obvious, but what is the next branch?

This is the first I have heard of it (not that my org-fu is all 
that comprehensive). I took a look around but I couldn't find any 
details about it in the mail archives. Granted I wasn't expecting 
much from a search that included the phrase "next branch". It 
isn't mentioned on worg in the developers section either 
(https://orgmode.org/worg/dev/index.html).

Cheers,

-- 
Adrian Bradd

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Branch "next" garbled
  2018-10-12  1:44   ` Adrian Bradd
@ 2018-10-12  3:17     ` Kaushal Modi
  0 siblings, 0 replies; 6+ messages in thread
From: Kaushal Modi @ 2018-10-12  3:17 UTC (permalink / raw)
  To: Adrian Bradd; +Cc: Marco Wahl, emacs-orgmode, Nicolas Goaziou

[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]

On Thu, Oct 11, 2018, 9:46 PM Adrian Bradd <adrian.bradd@gmail.com> wrote:

>
> Sorry if this is obvious, but what is the next branch
>

Simply put, the next branch is even more bleeding edge than the master.

Bleeding-edgeness: next > master > maint

- maint :: gets published to Org Elpa, etc. Right now the version there is
9.1.x. This branch only takes bug and doc fixes right now
- master :: this is the soon(TM)-to-be released Org 9.2 version. This has
quite a many features (including few breaking) on top of Org 9.1.x. As this
version is planned to be released soon, the plan is to not touch this
branch for the time being as it gets tested out more. Touch this only for
doc and bug fixes for Org 9.2.
- next :: This branch is open to all sorts of commits. Changes here won't
be visible until the next to next major Org release (probably 9.3?).

In general, you would always commit to the most stable branch first and
then merge that to the next less stable branch in succession.

The less stable branch always contains all commits (as-is or merged) from
the more stable branch.

It isn't mentioned on worg in the developers section either
> (https://orgmode.org/worg/dev/index.html).
>

My understanding is that the next branch is not a long term thing.

>

[-- Attachment #2: Type: text/html, Size: 2393 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-10-12  3:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-03 11:45 Branch "next" garbled Marco Wahl
2018-10-03 16:47 ` Nicolas Goaziou
2018-10-03 20:21   ` Marco Wahl
2018-10-12  1:44   ` Adrian Bradd
2018-10-12  3:17     ` Kaushal Modi
2018-10-03 20:46 ` Uwe Koloska

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).