Issue #46 open

Command line commit while Murky is running results in exception

morrowa
created an issue

I left Murky open looking at the working directory in my repo. I committed from the command line and was met with the following error message: {{{ Uncaught exception: NSRangeException Cannot remove an observer <NSKeyValueObservance 0x1039420> for the key path "formattedDescription" from <HgUncommittedRevision 0x10b4740> because it is not registered as an observer.

-[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] (in Foundation) + 525
-[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] (in Foundation) + 196
-[NSKeyValueNestedProperty object:withObservance:didChangeValueForKeyOrKeys:forwardingValues:] (in Foundation) + 157
-[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation) + 290
-[HgRepository _checkRevisions] (in Murky) + 1130
-[HgRepository _updateChangedDirs] (in Murky) + 199
__NSFireDelayedPerform (in Foundation) + 382
CFRunLoopRunSpecific (in CoreFoundation) + 4469
CFRunLoopRunInMode (in CoreFoundation) + 88
RunCurrentEventLoopInMode (in HIToolbox) + 283
ReceiveNextEventCommon (in HIToolbox) + 374
BlockUntilNextEventMatchingListInMode (in HIToolbox) + 106

Please report this bug (you can copy & paste the text). }}}

I was able to replicate the bug a second time with a different repository. Here were my steps: {{{ betelgeuse:~ morrowa$ mkdir hg_test_repo betelgeuse:~ morrowa$ cd hg_test_repo/ betelgeuse:hg_test_repo morrowa$ hg init betelgeuse:hg_test_repo morrowa$ touch lollerskaters betelgeuse:hg_test_repo morrowa$ hg status ? lollerskaters betelgeuse:hg_test_repo morrowa$ hg add lollerskaters betelgeuse:hg_test_repo morrowa$ hg status A lollerskaters betelgeuse:hg_test_repo morrowa$ hg ci -m "First commit" }}} I opened Murky at this point. {{{ betelgeuse:hg_test_repo morrowa$ touch lolcats betelgeuse:hg_test_repo morrowa$ hg add lolcats betelgeuse:hg_test_repo morrowa$ vim lolcats betelgeuse:hg_test_repo morrowa$ hg status A lolcats betelgeuse:hg_test_repo morrowa$ hg ci -m "Making a second test commit." }}} Murky displayed the error window with the above message and choices "Quit" or "Continue" after the last line was typed.

Comments (7)

  1. Log in to comment