Git branch switch


#1

I just notice this tweet


but I can’t find such switch in my Komodo IDE (version 10.1.1, build 89474, platform linux-x86_64)
I tried to look for configuration about git and also looked in docs, but I can’t find anyway to see something related to git.
Of course, my current project is versioned under git


#2

@garakkio,
Is Git working in Komodo? Can you check the Version Control widget and make sure it’s loading properly? View > Tabs & Sidebars > Version Control.

  • Carey

#3

Note it only works on git and mercurial, other version control systems are not supported for the branch switch widget.


#4

@nathanr ya he mentioned that his project is under Git.


#5

Ok, also note the branch switcher is contextual to the file not the project. So it shows the branch of the repository that the current file is under.


#6

I already tried the “Version Control” option, no luck. See attacched sceenshot


#7

I can switch between branches using the statusbar:

I’m currently having the issue on windows, git is not always loaded correctly:

I sometimes need to reboot Komodo before git is loaded correctly.
If git is loaded correctly you will see the git dynamic button is enabled:

And of course you should have git intergration enabled:


#8

Well, my preferences are missing “Git” under “Source Code Control”. How can I get it? I looked into addons, no luck.
By the way, it looks like I can’t disable CSV and Perforce integrations (useless for me)


#9

@garakkio the “source code control” is a folder, you can open it by double clicking on it.
There are tiny arrows in front of the items that can be opened:

@nathanr maybe an idea to use the thematic color for these arrows, so it’s more noticeable that the items can be opened


#10

@babobski that was already clear, I already opened the folder, but no git


#11

Oh strange, do you have git installed?


#12

Of course I have. I started using git way long before using Komodo.


#13

Oh sorry for that, just wanted to be sure.
But then I don’t have a clue, looks like something is broken


#14

Please share your logs.


#15

[2016-11-05 13:23:04,842] [INFO] Startup: Welcome to Komodo IDE 10.1.1 build 89474 (platform linux-x86_64, running on Linux 4.4.0-45-generic version #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016)
[2016-11-05 13:23:04,842] [INFO] Startup: /usr/bin/python built on Thu Sep 1 14:52:01 2016
[2016-11-05 13:23:04,925] [INFO] koInitService: Setting LC_CTYPE to utf-8
[2016-11-05 13:23:05,163] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in resource://gre/modules/Preferences.jsm:381
[2016-11-05 13:23:05,221] [WARNING] root: ko.logging has been converted to a CommonJS module; use require(“ko/logging”) instead (since Komodo 9.0.0a1).
@chrome://komodo/content/komodo.js:15:1

[2016-11-05 13:23:05,721] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
File “”, line 0, in

[2016-11-05 13:23:05,959] [WARNING] keybindings: [Ctrl+0] was used for ‘cmd_goToQuickBookmark_0’, overriding to use ‘cmd_fontZoomReset’
[2016-11-05 13:23:06,417] [INFO] koInitService: Adding pre startup service for ‘koFileStatusService’: ‘@activestate.com/koFileStatusService;1’
[2016-11-05 13:23:06,551] [INFO] komodospellchecker: Spell checker loaded.
[2016-11-05 13:23:06,551] [INFO] komodospellchecker: Using dictionary en-US
[2016-11-05 13:23:06,646] [ERROR] koScopeDocs-Py: Could not find cix for ext
[2016-11-05 13:23:06,651] [ERROR] koScopeDocs-Py: Could not find cix for html5
[2016-11-05 13:23:06,652] [INFO] elastic_tabstops: Elastic tabstops loaded.
[2016-11-05 13:23:09,576] [INFO] koInitService: Adding pre startup service for ‘KoMemoryReporter’: ‘@activestate.com/koMemoryReporter;1’
[2016-11-05 13:23:09,577] [INFO] koInitService: Adding pre startup service for ‘koCommandmentService’: ‘@activestate.com/koCommandmentService;1’
[2016-11-05 13:23:09,579] [INFO] koInitService: Adding pre startup service for ‘koDBGPManager’: ‘@activestate.com/koDBGPManager;1’
[2016-11-05 13:23:10,994] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in file:///opt/komodoide10/lib/mozilla/components/koamAddonManager.js:138
[2016-11-05 13:23:17,438] [WARNING] console-logger: Key event not available on some keyboard layouts: key=“v” modifiers=“control,alt” (1) in chrome://komodo/content/tail/tail.xul:0


#16

Open Tools - Addons (Legacy). Find Git 1.0. It should be enabled


split this topic #17

11 posts were split to a new topic: Use Komodo with external git diff tool