mercurial: abort: push creates new remote heads on branch 'default'!

6,322 views
Skip to first unread message

Tom

unread,
May 29, 2010, 1:10:03 PM5/29/10
to jfxtr...@googlegroups.com
Why am I getting this error message (abort: push creates new remote
heads on branch 'default'!)? I just did a pull, nothing comes in, put I
cannot push my commits.

Tom

David Armitage

unread,
May 29, 2010, 4:55:14 PM5/29/10
to jfxtr...@googlegroups.com
Probably nothing to do with it, but I couldnt Push, and then I discovered that something had changed my @ in the dnarmitage@googlemail in the addresses to %2540 rather than %40 as though it was double escaping.
 
Changed back and worked OK. Starangely, I suppose because not bothered about the ID, pulls worked.
 
Cheers,
 
David

Stephen Chin

unread,
May 30, 2010, 1:26:02 AM5/30/10
to jfxtr...@googlegroups.com
You might need to do a merge.

--
--Steve
blog: http://steveonjava.com/

Tom

unread,
May 30, 2010, 2:52:00 AM5/30/10
to jfxtr...@googlegroups.com
I did not find a merge option in TortoiseHG, nor do I get a list of
files that need merging (like you get in Subversion).
Since I only modified the light skin of calendarpicker for this commit,
I'm also confused what may have triggered this need to merge.

Tom

unread,
May 30, 2010, 3:21:03 AM5/30/10
to jfxtr...@googlegroups.com
On 2010-05-30 07:26, Stephen Chin wrote:
> You might need to do a merge.

Apparently I have branched something without knowing. Hm. I'm pretty
sure I just changed, committed and pushed.

Dean Iverson

unread,
May 30, 2010, 8:58:58 AM5/30/10
to jfxtr...@googlegroups.com
Tom,

Sounds more likely that you pulled changes previously but didn't merge them.  There is a good explanation of this here:


Dean



--
You received this message because you are subscribed to the Google Groups "JFXtras Developers" group.
To post to this group, send email to jfxtr...@googlegroups.com.
To unsubscribe from this group, send email to jfxtras-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jfxtras-dev?hl=en.


Tom

unread,
May 30, 2010, 11:04:50 AM5/30/10
to jfxtr...@googlegroups.com
Unless someone hacked around in the CalendarPicker code, that would be very unlikely.

In the little graph I saw that I had committed at the head (31) of my own repository, but also branched of some 7 revisionnr's back (24ish). I had to merge that branch to the head and then the graph showed a line from that branch merging into the head. I would like to understand where that branch came from. I think I was quit innocent.

Tom

Johannes Schneider

unread,
May 31, 2010, 3:53:53 AM5/31/10
to jfxtr...@googlegroups.com
Could you post the output of hg glog

>> <mailto:jfxtr...@googlegroups.com>.


>> To unsubscribe from this group, send email to
>> jfxtras-dev...@googlegroups.com

>> <mailto:jfxtras-dev%2Bunsu...@googlegroups.com>.


>> For more options, visit this group at
>> http://groups.google.com/group/jfxtras-dev?hl=en.
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "JFXtras Developers" group.
>> To post to this group, send email to jfxtr...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> jfxtras-dev...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/jfxtras-dev?hl=en.
>
> --
> You received this message because you are subscribed to the Google
> Groups "JFXtras Developers" group.
> To post to this group, send email to jfxtr...@googlegroups.com.
> To unsubscribe from this group, send email to
> jfxtras-dev...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/jfxtras-dev?hl=en.

--
Johannes Schneider - blog.cedarsoft.com

Tom

unread,
Jun 1, 2010, 4:05:57 AM6/1/10
to jfxtr...@googlegroups.com
Ermmmm

C:\Program Files\TortoiseHg>hg glog
hg: unknown command 'glog'
Mercurial Distributed SCM

Johannes Schneider

unread,
Jun 1, 2010, 4:51:58 AM6/1/10
to jfxtr...@googlegroups.com
On 06/01/2010 10:05 AM, Tom wrote:
> Ermmmm
>
> C:\Program Files\TortoiseHg>hg glog
> hg: unknown command 'glog'
> Mercurial Distributed SCM

Yeah, need that extension:
http://mercurial.selenic.com/wiki/GraphlogExtension


Sorry,

Johannes

Tom

unread,
Jun 8, 2010, 2:41:18 AM6/8/10
to jfxtr...@googlegroups.com

On 1-6-2010 10:51, Johannes Schneider wrote:
> On 06/01/2010 10:05 AM, Tom wrote:
>
>> Ermmmm
>>
>> C:\Program Files\TortoiseHg>hg glog
>> hg: unknown command 'glog'
>> Mercurial Distributed SCM
>>
> Yeah, need that extension:
> http://mercurial.selenic.com/wiki/GraphlogExtension
>
>
> Sorry,
>
> Johannes
>
>

Ok then, so what I need to understand is why changeset 23:602e9d69084c
was considered a branch. However, what I do not see is that, before
merging, I had changes in a branch and in the main line, like this:

o user: tbee...@gmail.com
|
| o user: tbee...@gmail.com
|/
|
|

I had to merge my own files, so some how they got branched.

@ changeset: 43:d48aa2cc5c26
|\ tag: tip
| | parent: 37:39755cd00ca2
| | parent: 42:d9713e2409fc
| | user: Dean Iverson (de...@pleasingsoftware.com)
| | date: Sun Jun 06 22:19:07 2010 -0600
| | summary: Merge with latest changes from main repo.
| |
| o changeset: 42:d9713e2409fc
| |\ parent: 36:881e308e955d
| | | parent: 41:ec921a8c069f
| | | user: David Armitage <dnarm...@hotmail.com>
| | | date: Thu Jun 03 22:08:07 2010 +0100
| | | summary: Merge
| | |
| | o changeset: 41:ec921a8c069f
| | | user: Stephen Chin <st...@widgetfx.org>
| | | date: Mon May 31 22:57:58 2010 +0200
| | | summary: Commented out failing testcases in CellTest and
ObjectSequenceTableModelTest (re-enable when bug is fixed in 1.3)
| | |
| | o changeset: 40:56fc4828361e
| | | user: Stephen Chin <st...@widgetfx.org>
| | | date: Mon May 31 21:15:44 2010 +0200
| | | summary: Removed XLauncher, since it is incomplete.
| | |
| | o changeset: 39:a3bfb382211f
| | | user: Stephen Chin <st...@widgetfx.org>
| | | date: Mon May 31 21:07:12 2010 +0200
| | | summary: Fixed a compile error and enhanced the
ScoreBoardBindTest.
| | |
| | o changeset: 38:587b564a717b
| | | parent: 33:96ef8c9f036f
| | | user: Stephen Chin <st...@widgetfx.org>
| | | date: Sun May 30 07:46:00 2010 -0700
| | | summary: Fixed ScoreBoard to dynmically update with JavaFX
1.3 and added a new test case.
| | |
o | | changeset: 37:39755cd00ca2
| | | parent: 35:73a2ee8e2f2c
| | | user: Dean Iverson (de...@pleasingsoftware.com)
| | | date: Sun Jun 06 22:18:09 2010 -0600
| | | summary: New XPane with a CSS-based skin. Converted skins
with Caspian dependencies to XCaspian. Moved AbstractSkin to the skin
package.
| | |
| o | changeset: 36:881e308e955d
| | | parent: 34:edb6c1bbec41
| | | user: David Armitage <dnarm...@hotmail.com>
| | | date: Thu Jun 03 21:59:22 2010 +0100
| | | summary: Add ArcText utility class in new package
org.jfxtras.scene.text
| | |
o | | changeset: 35:73a2ee8e2f2c
| | | parent: 26:5f672b52b208
| | | user: Dean Iverson (de...@pleasingsoftware.com)
| | | date: Mon May 31 15:52:52 2010 -0600
| | | summary: Created a new CSS-based version of XEtchedButton
with an updated demo program. Merged Caspain.fx and XCaspian.fx into
one file in the new org.jfxtras.scene.control.skin package. Fixed a bug
in XCaspian that was generating the LinearGradients incorrectly. Added
getBodyPaint and getBorderPaint methods to XCaspian.
| | |
| o | changeset: 34:edb6c1bbec41
| | | parent: 25:66d37899a1ea
| | | user: David Armitage <dnarm...@hotmail.com>
| | | date: Thu Jun 03 16:35:41 2010 +0100
| | | summary: Changes from main repos
| | |
| | o changeset: 33:96ef8c9f036f
| | | user: tbee...@gmail.com
| | | date: Sun May 30 09:20:44 2010 +0200
| | | summary: after merge changes
| | |
| | o changeset: 32:6a966000c93a
| | |\ parent: 31:a0cd8de99cc5
| | | | parent: 23:602e9d69084c
| | | | user: tbee...@gmail.com
| | | | date: Sun May 30 09:17:49 2010 +0200
| | | | summary: Merge
| | | |
| | | o changeset: 31:a0cd8de99cc5
| | | | user: tbee...@gmail.com
| | | | date: Sat May 29 19:04:33 2010 +0200
| | | | summary: align weeklabel
| | | |
| | | o changeset: 30:1129a524236f
| | | | user: tbee...@gmail.com
| | | | date: Sat May 29 18:47:20 2010 +0200
| | | | summary: back to squares
| | | |
| | | o changeset: 29:2c46f2ee091e
| | | | user: Stephen Chin <st...@widgetfx.org>
| | | | date: Sat May 29 01:14:11 2010 -0700
| | | | summary: Added exception handling for XML/JSONHandler Tests.
| | | |
| | | o changeset: 28:c85174e09d59
| | | | user: Stephen Chin <st...@widgetfx.org>
| | | | date: Fri May 28 03:29:03 2010 -0700
| | | | summary: New version of JFXtras Test that initializes the
runtime provider and toolkit, avoiding warnings on ant test runs.
| | | |
+-----o changeset: 27:526a11b17fd5
| | | user: Stephen Chin <st...@widgetfx.org>
| | | date: Thu May 27 19:32:45 2010 -0700
| | | summary: Fixed a layout animation bug, and added an action
to XForm.
| | |
o | | changeset: 26:5f672b52b208
|/ / user: Dean Iverson (de...@pleasingsoftware.com)
| | date: Wed May 26 18:35:29 2010 -0600
| | summary: Minor: cleaned up warnings due to animation targets
| |
o | changeset: 25:66d37899a1ea
| | user: David Armitage <dnarm...@hotmail.com>
| | date: Wed May 26 14:05:19 2010 +0100
| | summary: Stabilise and neaten demo scene.
| |
o | changeset: 24:087a178028bb
| | parent: 22:8b4832d989e2
| | user: Stephen Chin <st...@widgetfx.org>
| | date: Tue May 25 04:39:34 2010 -0700
| | summary: Fixed the MapDataProvider to work with XTable. Also
added a test case for this scenario.
| |
| o changeset: 23:602e9d69084c
|/ user: tbee...@gmail.com
| date: Mon May 24 23:21:19 2010 +0200
| summary: GUI tuning
|
o changeset: 22:8b4832d989e2
| user: Johannes Schneider <j...@cedarsoft.com>
| date: Mon May 24 15:15:40 2010 +0200
| summary: SlideWipe: Working around compiler warning
|
o changeset: 21:f10d4328c88c
| user: Johannes Schneider <j...@cedarsoft.com>
| date: Mon May 24 15:06:47 2010 +0200
| summary: XBoxAlignmentDemo: Removing dep to ext.swing
|
o changeset: 20:1c4996f8b26c
| user: Johannes Schneider <j...@cedarsoft.com>
| date: Mon May 24 15:05:35 2010 +0200
| summary: XBoxNestedLayoutDemo: Removing references to ext.swing
|
o changeset: 19:31cf6e230e45
| user: Stephen Chin <st...@widgetfx.org>
| date: Mon May 24 06:02:11 2010 -0700
| summary: Fixed layout animation to prevent nested resize loops.
|
o changeset: 18:7b5951b0b5bf
| user: Johannes Schneider <j...@cedarsoft.com>
| date: Mon May 24 14:47:02 2010 +0200
| summary: Demo: Replacing SwingSlider with Slider
|
o changeset: 17:0f6e7f58aac8
| user: Johannes Schneider <j...@cedarsoft.com>
| date: Mon May 24 13:08:06 2010 +0200
| summary: Cosmetic: Removed generics warning
|
o changeset: 16:4990fa036dde
| user: Johannes Schneider <j...@cedarsoft.com>
| date: Mon May 24 13:03:21 2010 +0200
| summary: Cosmetic: Added missing wildcard
|
o changeset: 15:9855770c24d2
| user: Johannes Schneider <j...@cedarsoft.com>
| date: Sat May 22 13:01:03 2010 +0200
| summary: pom: added enforcer plugin: checks for jdk and existance
of javafx.home property
|
o changeset: 14:c0172be37d33
| user: Stephen Chin <st...@widgetfx.org>
| date: Sun May 23 17:49:07 2010 -0700
| summary: Fixed a bug where the first XPicker selection would not
trigger onIndexChange.
|
o changeset: 13:fe445754fbe6
| user: Stephen Chin <st...@widgetfx.org>
| date: Sun May 23 15:19:46 2010 -0700
| summary: Fixed a layout issue with XCustomNode and XPanel where
shrink was getting populated by the child's grow priority.
|
o changeset: 12:56064250a548
| user: tbee...@gmail.com
| date: Sat May 22 21:54:14 2010 +0200
| summary: tuning of the light skin
|
o changeset: 11:1384c16542d6
| user: tbee...@gmail.com
| date: Sat May 22 16:29:30 2010 +0200
| summary: Upgraded Eclipse project to latest Eclipse & Exadel
|
o changeset: 10:f0c01351aebe
| user: tbee...@gmail.com
| date: Sat May 22 08:31:35 2010 +0200
| summary: use XScene
|
o changeset: 9:ad2ad4693fc3
| user: tbee...@gmail.com
| date: Sat May 22 08:18:34 2010 +0200
| summary: improved the default colors
|
o changeset: 8:0d8c7d6613aa
| user: tbee...@gmail.com
| date: Thu May 20 17:39:58 2010 +0200
| summary: made the light calendar picker skin behave correctly
|
o changeset: 7:92312edfb58e
| user: Johannes Schneider <j...@cedarsoft.com>
| date: Wed May 19 17:46:57 2010 +0200
| summary: ControlTester: Added initial commit to test sources
directory.
|
o changeset: 6:9654a8c2b43c
| user: Johannes Schneider <j...@cedarsoft.com>
| date: Wed May 19 17:42:27 2010 +0200
| summary: pom: updated javafx version to 1.3.0
|
o changeset: 5:8c8c4047f7b1
| user: Stephen Chin <st...@widgetfx.org>
| date: Wed May 19 06:41:14 2010 -0700
| summary: Fixed XDynamicBind to support Primitive values, got
XTableView working, and cleaned up isInitialized references that looked
problematic.
|
o changeset: 4:e942faddfccb
| user: tbee...@gmail.com
| date: Tue May 18 21:11:22 2010 +0200
| summary: layout fixes for when scaling up
|
o changeset: 3:a68452c33003
| user: Johannes Schneider <j...@cedarsoft.com>
| date: Tue May 18 13:43:52 2010 +0200
| summary: added javafx-ext-swing dependency to pom
|
o changeset: 2:9f1a5609a9c5
| user: Johannes Schneider <j...@cedarsoft.com>
| date: Tue May 18 13:30:00 2010 +0200
| summary: Added "target" to .hgignore - for use with maven
|
o changeset: 1:c88ba5167196
| user: Stephen Chin <st...@widgetfx.org>
| date: Tue May 18 04:40:53 2010 -0700
| summary: Updated ignore file to skip main project (javadoc)
|
o changeset: 0:fb025a6fb72a
user: Stephen Chin <st...@widgetfx.org>
date: Tue May 18 04:06:17 2010 -0700
summary: Initial check-in (see SVN repository for earlier history)


Stephen Chin

unread,
Jun 8, 2010, 4:04:36 AM6/8/10
to jfxtr...@googlegroups.com
Here is the most likely scenario that caused this (with changelists in brackets):
  1. hg commit [23]
  2. hg update -u [gets 24-29] (pulls in external changes, creating a branch)
  3. <missing step> should run "hg merge" here
  4. hg commit [30, 31] (now committing on branch)
  5. hg merge; hg commit [32]
The message after doing the update in step 2 will recommend you run a merge, which would avoid the branch propagation.  Doing a merge after subsequent commits (as it appears you did in step 5) is harmless as long as you don't have conflicting changes.

Cheers,
--Steve

Tom

unread,
Jun 8, 2010, 4:14:41 AM6/8/10
to jfxtr...@googlegroups.com
So... Synchronizing the repository and then doing an update to get the changes in my sources is not enough; it can still result in a branch, even if no one else is modifying these specific source files.

<confused look/>
<head scratching/>

It will most certainly will start making sense in the (hopefully not too distant) future, for now I will try harder not too miss merge messages.

Thanks!

Stephen Chin

unread,
Jun 8, 2010, 4:27:16 AM6/8/10
to jfxtr...@googlegroups.com
The modified files don't matter when considering if a merge is required, therefore the following workflow is extremely common:
  • hg pull -u
  • hg merge
  • hg commit -m "Merged changes"
In fact, this is so common that they have a "fetch" extension that automates this:
http://hgbook.red-bean.com/read/a-tour-of-mercurial-merging-work.html
(see section entitled "Simplifying the pull-merge-commit sequence")

Cheers,
--Steve
--
You received this message because you are subscribed to the Google Groups "JFXtras Developers" group.
To post to this group, send email to jfxtr...@googlegroups.com.
To unsubscribe from this group, send email to jfxtras-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jfxtras-dev?hl=en.

Tom

unread,
Jun 8, 2010, 4:43:59 AM6/8/10
to jfxtr...@googlegroups.com
Ok, I see. Luckily TortoiseHG also has a fetch feature in the synchronize window.
Reply all
Reply to author
Forward
0 new messages