Red Gate forums :: View topic - Issue with 2.2 Mercurial Intergration
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Source Control 2
SQL Source Control 2 forum

Issue with 2.2 Mercurial Intergration

Search in SQL Source Control 2 forum
Post new topic   Reply to topic
Jump to:  
Author Message
CTSPatrick



Joined: 05 Jul 2011
Posts: 2

PostPosted: Tue Jul 05, 2011 9:57 pm    Post subject: Issue with 2.2 Mercurial Intergration Reply with quote

I have run into a issue with the RedGate Source Control 2.2 when trying to commit changes to a mercurial repository.

If the underlying mercurial commit fails due to some exception (such as the message being empty) the whole commit process will simply stay in a "busy/doing work" state at the "Sending files to source control server" step.

Only attempting to close the window or pressing the cancel button will bring up the dialog box showing the mercurial error.
This was not happening in 2.1
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1113
Location: My desk.

PostPosted: Fri Jul 08, 2011 9:50 am    Post subject: Reply with quote

Thanks for reporting this. I've let the team know so we can see if we can work out the problem. Is it consistently reproducible? Do you have other users who get the same problem?
Back to top
View user's profile Send private message
DavidSimner



Joined: 04 Feb 2010
Posts: 49

PostPosted: Fri Jul 08, 2011 2:41 pm    Post subject: Reply with quote

I've tried to reproduce this on my machine and at the step you mentioned Notepad is correctly launched so that a new commit message can be entered. When I entered a new commit message in Notepad, saved the file, and closed Notepad, the commit in SQL Source Control finished successfully.

Can I just double-check with you that Notepad definitely isn't launched? On my machine it was set to be the active window, but can you please carefully check to see if it was launched, but because it wasn't made the active window you didn't notice it.

It is mercurial itself that is launching Notepad (SQL Source Control just asks mercurial to do the commit, and it decides to launch Notepad), so is there any chance you could have configured mercurial not to launch Notepad? This setting could be in the hg command line or in TortoiseHg.
Back to top
View user's profile Send private message
CTSPatrick



Joined: 05 Jul 2011
Posts: 2

PostPosted: Mon Jul 11, 2011 4:55 pm    Post subject: I think I've got it Reply with quote

I have now realized that I am using a command line editor (vim) to enter in my comments. What I suppose is happening is that no command terminal pops up with the vim instance, thus disabling my ability to leave a comment.

I am a heavy command line user and would greatly appreciate some support for this kind of issue.
Back to top
View user's profile Send private message
DavidSimner



Joined: 04 Feb 2010
Posts: 49

PostPosted: Tue Jul 12, 2011 10:24 am    Post subject: Reply with quote

Aah, that would explain it. Can you please give me the details for how you've configured vim to be your text editor, so that I can reproduce the issue here and looking into fixing it.

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group