Mercurial and Git clients can push and pull from this alias URL to interact with this repository. You can change to which repository an alias points by going to the Aliases link on the project page.
I often feel the need to look something up in the changelog when typing the change message. This saves me a couple of clicks and some window navigation.
# commit.py - Commit dialog for TortoiseHg## Copyright 2007 Brad Schick, brad at gmail . com# Copyright 2007 TK Soh <teekaysoh@gmail.com># Copyright 2007 Steve Borho <steve@borho.org>## This software may be used and distributed according to the terms of the# GNU General Public License version 2, incorporated herein by reference.importosimporterrnoimportgtkimportgobjectimportpangoimporttempfileimportcStringIOimporttimefrommercurialimportui,hg,util,patchfromthgutil.i18nimport_fromthgutilimportshlib,hglibfromhggtk.statusimportGStatus,FM_STATUS,FM_CHECKED,FM_PATH_UTF8fromhggtk.statusimportDM_REJECTED,DM_CHUNK_IDfromhggtkimportgtklib,thgconfig,gdialog,hgcmdclassBranchOperationDialog(gtk.Dialog):def__init__(self,branch,close,mergebranches):gtk.Dialog.__init__(self,parent=None,flags=gtk.DIALOG_MODAL,buttons=(gtk.STOCK_CANCEL,gtk.RESPONSE_CANCEL,gtk.STOCK_OK,gtk.RESPONSE_OK))gtklib.set_tortoise_keys(self)self.set_title(_('Branch Operations'))self.newbranch=Noneself.closebranch=Falseifmergebranches:lbl=gtk.Label(_('Select branch of merge commit'))branchcombo=gtk.combo_box_new_text()fornameinmergebranches:branchcombo.append_text(name)branchcombo.set_active(0)self.vbox.pack_start(lbl,True,True,2)self.vbox.pack_start(branchcombo,True,True,2)self.connect('response',self.merge_response,branchcombo)self.show_all()returnself.connect('response',self.response)lbl=gtk.Label(_('Changes take effect on next commit'))nochanges=gtk.RadioButton(None,_('No branch changes'))self.newbranchradio=gtk.RadioButton(nochanges,_('Open a new named branch'))self.closebranchradio=gtk.RadioButton(nochanges,_('Close current named branch'))self.branchentry=gtk.Entry()self.branchentry.connect('activate',self.activated)hbox=gtk.HBox()hbox.pack_start(self.newbranchradio,False,False,2)hbox.pack_start(self.branchentry,True,True,2)self.vbox.pack_start(hbox,True,True,2)hbox=gtk.HBox()hbox.pack_start(self.closebranchradio,True,True,2)self.vbox.pack_start(hbox,True,True,2)hbox=gtk.HBox()hbox.pack_start(nochanges,True,True,2)self.vbox.pack_start(hbox,True,True,2)self.vbox.pack_start(lbl,True,True,10)self.newbranchradio.connect('toggled',self.nbtoggle)self.newbranchradio.set_active(True)ifbranch:self.newbranch=branchself.branchentry.set_text(branch)self.newbranchradio.set_active(True)elifclose:self.closebranch=closeself.closebranchradio.set_active(True)else:nochanges.set_active(True)self.show_all()defnbtoggle(self,radio):self.branchentry.set_sensitive(radio.get_active())ifradio.get_active():self.branchentry.grab_focus()defactivated(self,entry):self.response(self,response_id=gtk.RESPONSE_OK)defresponse(self,widget,response_id):ifresponse_id==gtk.RESPONSE_OK:ifself.newbranchradio.get_active():self.newbranch=self.branchentry.get_text()elifself.closebranchradio.get_active():self.closebranch=Trueelse:self.newbranch=Noneself.closebranch=Falseself.destroy()defmerge_response(self,widget,response_id,combo):self.closebranch=Falseifresponse_id==gtk.RESPONSE_OK:row=combo.get_active()ifrow==1:self.newbranch=combo.get_model()[row][0]self.destroy()classGCommit(GStatus):"""GTK+ based dialog for displaying repository status and committing changes. Also provides related operations like add, delete, remove, revert, refresh, ignore, diff, and edit. """### Overrides of base class methods ###definit(self):GStatus.init(self)self.mode='commit'self.nextbranch=Noneself.closebranch=Falseself.last_commit_id=Noneself.qnew=Falseself.notify_func=Nonedefset_notify_func(self,func,args):self.notify_func=funcself.notify_args=argsdefparse_opts(self):GStatus.parse_opts(self)# Need an entry, because extdiff code expects itifnotself.test_opt('rev'):self.opts['rev']=''defget_title(self):root=hglib.toutf(os.path.basename(self.repo.root))user=self.opts.get('user')ifuser:user='as '+userdate=self.opts.get('date')pats=' '.join(self.pats)ifself.qnew:returnroot+' qnew'elifself.mqmode:patch=self.repo.mq.lookup('qtip')returnroot+' qrefresh '+patchreturn' '.join([root,'commit',patsor'',useror'',dateor''])defget_icon(self):return'menucommit.ico'defauto_check(self):ifself.test_opt('check'):forentryinself.filemodel:ifentry[FM_STATUS]in'MAR':entry[FM_CHECKED]=Trueself.update_check_count()self.opts['check']=Falsedefsave_settings(self):settings=GStatus.save_settings(self)settings['commit-vpane']=self.vpaned.get_position()returnsettingsdefload_settings(self,settings):self.connect('delete-event',self.delete)GStatus.load_settings(self,settings)self._setting_vpos=-1try:self._setting_vpos=settings['commit-vpane']exceptKeyError:passdefget_tbbuttons(self):tbbuttons=GStatus.get_tbbuttons(self)tbbuttons.insert(0,gtk.SeparatorToolItem())self.undo_button=self.make_toolbutton(gtk.STOCK_UNDO,_('_Undo'),self.undo_clicked,tip=_('undo recent commit'))self.commit_button=self.make_toolbutton(gtk.STOCK_OK,_('_Commit'), self.commit_clicked, tip=_('commit'))
tbbuttons.insert(0, self.undo_button)
tbbuttons.insert(0, self.commit_button)
++ self.changelog_button = self.make_toolbutton(gtk.STOCK_INDEX, _('Changelog'),+ self.changelog_clicked, tip=_('view changelog'))+ tbbuttons.append(self.changelog_button)+ tbbuttons.append(gtk.SeparatorToolItem())+ return tbbuttons
defchanged_cb(self,combobox):model=combobox.get_model()index=combobox.get_active()ifindex>=0:buf=self.text.get_buffer()ifbuf.get_char_count()andbuf.get_modified():response=gdialog.Confirm(_('Confirm Discard Message'),[],self,_('Discard current commit message?')).run()ifresponse!=gtk.RESPONSE_YES:combobox.set_active(-1)returnbuf.set_text(model[index][1])buf.set_modified(False)deffirst_msg_popdown(self,combo,shown):combo.disconnect(self.popupid)self.popupid=Noneself.update_recent_messages()defupdate_recent_messages(self,msg=None):ifmsgisnotNone:self._mru_messages.add(msg)self.settings.write()ifself.popupidisnotNone:returnliststore=self.msg_cbbox.get_model()liststore.clear()formsginself._mru_messages:sumline=msg.split("\n")[0]liststore.append([sumline,msg])defbranch_clicked(self,button):ifself.merging:mb=[p.branch()forpinself.repo.parents()]else:mb=Nonedialog=BranchOperationDialog(self.nextbranch,self.closebranch,mb)dialog.run()self.nextbranch=Noneself.closebranch=Falseifdialog.newbranch:self.nextbranch=dialog.newbranchelifdialog.closebranch:self.closebranch=Trueself.refresh_branchop()defget_body(self):status_body=GStatus.get_body(self)vbox=gtk.VBox()mbox=gtk.HBox()self.connect('thg-accept',self.thgaccept)self.branchbutton=gtk.Button()self.branchbutton.connect('clicked',self.branch_clicked)mbox.pack_start(self.branchbutton,False,False,2)ifself.merging:branches=[p.branch()forpinself.repo.parents()]ifbranches[0]==branches[1]:self.branchbutton.set_sensitive(False)ifhasattr(self.repo,'mq'):label=gtk.Label('QNew: ')mbox.pack_start(label,False,False,2)self.qnew_name=gtk.Entry()self.qnew_name.set_width_chars(20)self.qnew_name.connect('changed',self.qnew_changed)mbox.pack_start(self.qnew_name,False,False,2)else:self.qnew_name=Noneliststore=gtk.ListStore(str,str)self.msg_cbbox=gtk.ComboBox(liststore)cell=gtk.CellRendererText()self.msg_cbbox.pack_start(cell,True)self.msg_cbbox.add_attribute(cell,'text',0)liststore.append([_('Recent Commit Messages...'),''])self.msg_cbbox.set_active(0)self.popupid=self.msg_cbbox.connect('notify::popup-shown',self.first_msg_popdown)self.msg_cbbox.connect('changed',self.changed_cb)mbox.pack_start(self.msg_cbbox)vbox.pack_start(mbox,False,False)self._mru_messages=self.settings.mrul('recent_messages')frame=gtk.Frame()frame.set_shadow_type(gtk.SHADOW_ETCHED_IN)scroller=gtk.ScrolledWindow()scroller.set_policy(gtk.POLICY_AUTOMATIC,gtk.POLICY_AUTOMATIC)frame.add(scroller)vbox.pack_start(frame)self.text=gtk.TextView()self.text.connect('populate-popup',self.msg_add_to_popup)self.text.modify_font(pango.FontDescription(self.fontcomment))scroller.add(self.text)self.vpaned=gtk.VPaned()self.vpaned.add1(vbox)self.vpaned.add2(status_body)gobject.idle_add(self.realize_settings)returnself.vpaneddefrealize_settings(self):self.vpaned.set_position(self._setting_vpos)defthgaccept(self,window):self.commit_clicked(None)defget_custom_menus(self):defcommit(menuitem,files):ifself.ready_message():self.hg_commit(files)self.reload_status()abs=[self.repo.wjoin(file)forfileinfiles]shlib.shell_notify(abs)ifself.merging:return()else:return[(_('_commit'),commit,'MAR'),]defdelete(self,window,event):ifnotself.should_live():self.destroy()else:returnTruedefshould_live(self,widget=None,event=None):# If there are more than a few character typed into the commit# message, ask if the exit should continue.live=Falsebuf=self.text.get_buffer()ifbuf.get_char_count()>10andbuf.get_modified():# response: 0=Yes, 1=No, 2=Cancelresponse=gdialog.CustomPrompt(_('Confirm Exit'),_('Save commit message at exit?'),self,(_('&Yes'),_('&No'),_('&Cancel')),2,2).run()ifresponse==0:begin,end=buf.get_bounds()self.update_recent_messages(buf.get_text(begin,end))buf.set_modified(False)elifresponse==2:live=Trueifnotlive:self._destroying(widget)returnlivedefreload_status(self):ifnotself.ready:returnFalsesuccess=GStatus.reload_status(self)self.check_merge()self.check_patch_queue()self.check_undo()self.refresh_branchop()returnsuccess### End of overridable methods ###defrefresh_branchop(self):ifself.nextbranch:text=_('new branch: ')+self.nextbranchelifself.closebranch:text=_('close branch: ')+self.repo[None].branch()else:text=_('branch: ')+self.repo[None].branch()self.branchbutton.set_label(text)defcheck_undo(self):can_undo=os.path.exists(self.repo.sjoin("undo"))and \
self.last_commit_idisnotNoneself.undo_button.set_sensitive(can_undo)defcheck_merge(self):ifself.merging:# select all changes if repo is mergedforentryinself.filemodel:ifentry[FM_STATUS]in'MARD':entry[FM_CHECKED]=Trueself.update_check_count()# pre-fill commit message, if not modifiedbuf=self.text.get_buffer()ifnotbuf.get_modified():buf.set_text(_('merge'))buf.set_modified(False)defcheck_patch_queue(self):'''See if an MQ patch is applied, switch to qrefresh mode'''self.qheader=Noneifself.mqmode:self.qheader=self.repo['qtip'].description()buf=self.text.get_buffer()ifbuf.get_char_count()==0ornotbuf.get_modified():ifself.qnew:buf.set_text('')else:buf.set_text(self.qheader)buf.set_modified(False)c_btn=self.get_toolbutton(_('_Commit'))ifself.qnew:c_btn.set_label(_('QNew'))c_btn.set_tooltip(self.tooltips,_('QNew'))self._hg_call_wrapper('Status',self.do_reload_status)else:c_btn.set_label(_('QRefresh'))c_btn.set_tooltip(self.tooltips,_('QRefresh'))elifself.qnew:c_btn=self.get_toolbutton(_('_Commit'))c_btn.set_label(_('QNew'))c_btn.set_tooltip(self.tooltips,_('QNew'))buf=self.text.get_buffer()ifnotbuf.get_modified():buf.set_text('')buf.set_modified(False)else:c_btn=self.get_toolbutton(_('_Commit'))c_btn.set_label(_('_Commit'))c_btn.set_tooltip(self.tooltips,_('commit'))self.branchbutton.set_sensitive(not(self.mqmodeorself.qnew))defcommit_clicked(self,toolbutton,data=None):ifnotself.ready_message():returncommitable='MAR'ifself.merging:commit_list=self.relevant_checked_files(commitable)# merges must be committed without specifying file list.self.hg_commit([])else:addremove_list=self.relevant_checked_files('?!')iflen(addremove_list)andself.should_addremove(addremove_list):commitable+='?!'commit_list=self.relevant_checked_files(commitable)iflen(commit_list)>0:self.commit_selected(commit_list)eliflen(self.filemodel)==0andself.qnew:self.commit_selected([])else:gdialog.Prompt(_('Nothing Commited'),_('No committable files selected'),self).run()returnself.reload_status()files=[self.repo.wjoin(x)forxincommit_list]shlib.shell_notify(files)defcommit_selected(self,files):# 1a. get list of chunks not rejectedrepo,ui=self.repo,self.repo.ui# 2. backup changed files, so we can restore them in the endbackups={}backupdir=repo.join('record-backups')try:os.mkdir(backupdir)exceptOSError,err:iferr.errno!=errno.EEXIST:gdialog.Prompt(_('Commit'),_('Unable to create ')+backupdir,self).run()returntry:# backup continuesallchunks=[]forfinfiles:cf=util.pconvert(f)ifcfnotinself.modified:continueiffnotinself.filechunks:continuechunks=self.filechunks[f]iflen(chunks)<2:continue# unfiltered files do not go through backup-revert-patch cyclerejected=[cforcinchunks[1:]ifnotc.active]iflen(rejected)==0:continueallchunks.extend(chunks)fd,tmpname=tempfile.mkstemp(prefix=cf.replace('/','_')+'.',dir=backupdir)os.close(fd)util.copyfile(repo.wjoin(cf),tmpname)backups[cf]=tmpnamefp=cStringIO.StringIO()forn,cinenumerate(allchunks):ifc.filename()inbackupsandc.active:c.write(fp)dopatch=fp.tell()fp.seek(0)ifbackups:ifself.qheaderisnotNone:# 3a. apply filtered patch to top patch's parenthg.revert(repo,self._node1,backups.has_key)else:# 3a. apply filtered patch to clean repo (clean)hg.revert(repo,repo.dirstate.parents()[0],backups.has_key)# 3b. (apply)ifdopatch:try:pfiles={}patch.internalpatch(fp,ui,1,repo.root,files=pfiles,eolmode=None)patch.updatedir(ui,repo,pfiles)exceptpatch.PatchError,err:s=str(err)ifs:raiseutil.Abort(s)else:gdialog.Prompt(_('Commit'),_('Unable to apply patch'),self).run()returndelfp# 4. We prepared working directory according to filtered patch.# Now is the time to delegate the job to commit/qrefresh# or the like!# it is important to first chdir to repo root -- we'll call a# highlevel command with list of pathnames relative to repo rootcwd=os.getcwd()os.chdir(repo.root)try:self.hg_commit(files)finally:os.chdir(cwd)returnfinally:# 5. finally restore backed-up filestry:forrealname,tmpnameinbackups.iteritems():util.copyfile(tmpname,repo.wjoin(realname))os.unlink(tmpname)os.rmdir(backupdir)exceptOSError:passdefundo_clicked(self,toolbutton,data=None):response=gdialog.Confirm(_('Confirm Undo commit'),[],self,_('Undo last commit')).run()ifresponse!=gtk.RESPONSE_YES:returntip=self.get_tip_rev(True)ifnottip==self.last_commit_id:gdialog.Prompt(_('Undo commit'),_('Unable to undo!\n\n''Tip revision differs from last commit.'),self).run()returntry:self.repo.ui.quiet=Trueself.repo.rollback()self.repo.ui.quiet=Falseself.last_commit_id=Noneself.reload_status()time.sleep(0.5)# give fs some time to pick up changesshlib.shell_notify([os.getcwd()])except:gdialog.Prompt(_('Undo commit'), _('Errors during rollback!'), self).run()
+ def changelog_clicked(self, toolbutton, data=None):+ from hggtk import history+ dlg = history.run(self.ui)+ dlg.display()+ return True++ def should_addremove(self, files):
if self.test_opt('addremove'):
return True
else:response=gdialog.Confirm(_('Confirm Add/Remove'),files,self,_('Add/Remove the following files?')).run()ifresponse==gtk.RESPONSE_YES:# This will stay set for further commits (meaning no# more prompts). Problem?self.opts['addremove']=TruereturnTruereturnFalsedefready_message(self):buf=self.text.get_buffer()ifbuf.get_char_count()==0:gdialog.Prompt(_('Nothing Commited'),_('Please enter commit message'),self).run()self.text.grab_focus()returnFalsetry:sumlen=int(self.repo.ui.config('tortoisehg','summarylen',0))maxlen=int(self.repo.ui.config('tortoisehg','messagewrap',0))except(TypeError,ValueError):gdialog.Prompt(_('Error'),_('Message format configuration error'),self).run()self.msg_config(None)returnlines=buf.get_text(buf.get_start_iter(),buf.get_end_iter()).splitlines()ifsumlenandlen(lines[0].rstrip())>sumlen:resp=gdialog.Confirm(_('Confirm Commit'),[],self,_('The summary line length of %i is greater than'' %i.\n\nIgnore format policy and continue'' commit?')%(len(lines[0].rstrip()),sumlen)).run()ifresp!=gtk.RESPONSE_YES:returnFalseifsumlenandlen(lines)>1andlen(lines[1].strip()):resp=gdialog.Confirm(_('Confirm Commit'),[],self,_('The summary line is not followed by a blank'' line.\n\nIgnore format policy and continue'' commit?')).run()ifresp!=gtk.RESPONSE_YES:returnFalseifmaxlen:start=int(sumlen>0)tmp=[len(x.rstrip())>maxlenforxinlines[start:]]errs=[str(x[1]+start+1)forxinzip(tmp,range(len(tmp)))ifx[0]]iferrs:resp=gdialog.Confirm(_('Confirm Commit'),[],self,_('The following lines are over the %i-''character limit: %s.\n\nIgnore format'' policy and continue commit?')%(maxlen,', '.join(errs))).run()ifresp!=gtk.RESPONSE_YES:returnFalsebegin,end=buf.get_bounds()self.opts['message']=buf.get_text(begin,end)returnTruedefhg_commit(self,files):ifnotself.repo.ui.config('ui','username'):gdialog.Prompt(_('Commit: Invalid username'),_('Your username has not been configured.\n\n''Please configure your username and try again'),self).run()# bring up the config dialog for user to enter their username.# But since we can't be sure they will do it right, we will# have them to retry, to re-trigger the checking mechanism.dlg=thgconfig.ConfigDialog(False)dlg.show_all()dlg.focus_field('ui.username')dlg.run()dlg.hide()self.repo=hg.repository(ui.ui(),self.repo.root)self.ui=self.repo.uireturncmdline=['hg','commit','--verbose','--repository',self.repo.root]ifself.nextbranch:# response: 0=Yes, 1=No, 2=Cancelnewbranch=hglib.fromutf(self.nextbranch)ifnewbranchinself.repo.branchtags():ifnewbranchin[p.branch()forpinself.repo.parents()]:response=0else:response=gdialog.CustomPrompt(_('Confirm Override Branch'),_('A branch named "%s" already exists,\n''override?')%self.nextbranch,self,(_('&Yes'),_('&No'),_('&Cancel')),2,2).run()else:response=gdialog.CustomPrompt(_('Confirm New Branch'),_('Create new named branch "%s"?')%self.nextbranch,self,(_('&Yes'),_('&No'),_('&Cancel')),2,2).run()ifresponse==0:self.repo.dirstate.setbranch(newbranch)elifresponse==2:returnelifself.closebranch:cmdline.append('--close-branch')# call the threaded CmdDialog to do the commit, so the the large commit# won't get locked up by potential large commit. CmdDialog will also# display the progress of the commit operation.ifself.qnew:cmdline[1]='qnew'cmdline.append('--force')elifself.qheaderisnotNone:cmdline[1]='qrefresh'ifself.opts['addremove']:cmdline+=['--addremove']ifself.opts['user']:cmdline.extend(['--user',self.opts['user']])ifself.opts['date']:cmdline.extend(['--date',self.opts['date']])cmdline+=['--message',hglib.fromutf(self.opts['message'])]ifself.qnew:cmdline+=[hglib.fromutf(self.get_qnew_name())]cmdline+=[self.repo.wjoin(x)forxinfiles]dialog=hgcmd.CmdDialog(cmdline,True)dialog.set_transient_for(self)dialog.run()dialog.hide()# refresh overlay icons and commit dialogifdialog.return_code()==0:self.closebranch=Falseself.nextbranch=Noneself.opts['check']=True# recheck MAR after commitself.filechunks={}# do not keep chunksbuf=self.text.get_buffer()ifbuf.get_modified():self.update_recent_messages(self.opts['message'])buf.set_modified(False)ifself.qnew:self.qnew_name.set_text('')hglib.invalidaterepo(self.repo)self.mode='commit'self.qnew=Falseelifself.qheaderisNone:self.text.set_buffer(gtk.TextBuffer())self.msg_cbbox.set_active(-1)self.last_commit_id=self.get_tip_rev(True)ifself.notify_func:self.notify_func(self.notify_args)defget_tip_rev(self,refresh=False):ifrefresh:self.repo.invalidate()returnself.repo['tip'].node()defget_qnew_name(self):returnself.qnew_nameandself.qnew_name.get_text().strip()or''defqnew_changed(self,element):qnew=bool(self.get_qnew_name())ifself.qnew!=qnew:self.qnew=qnewself.mode=qnewand'status'or'commit'self.reload_status()self.qnew_name.grab_focus()# set focus backdefmsg_add_to_popup(self,textview,menu):menu_items=(('----',None),(_('Paste _Filenames'),self.msg_paste_fnames),(_('App_ly Format'),self.msg_word_wrap),(_('C_onfigure Format'),self.msg_config))forlabel,handlerinmenu_items:iflabel=='----':menuitem=gtk.SeparatorMenuItem()else:menuitem=gtk.MenuItem(label)ifhandler:menuitem.connect('activate',handler)menu.append(menuitem)menu.show_all()defmsg_paste_fnames(self,sender):buf=self.text.get_buffer()fnames=[file[FM_PATH_UTF8]forfileinself.filemodeliffile[FM_CHECKED]]buf.delete_selection(True,True)buf.insert_at_cursor('\n'.join(fnames))defmsg_word_wrap(self,sender):try:sumlen=int(self.repo.ui.config('tortoisehg','summarylen',0))maxlen=int(self.repo.ui.config('tortoisehg','messagewrap',0))except(TypeError,ValueError):sumlen=0maxlen=0ifnot(sumlenormaxlen):gdialog.Prompt(_('Info required'),_('Message format needs to be configured'),self).run()self.msg_config(None)returnbuf=self.text.get_buffer()lines=buf.get_text(buf.get_start_iter(),buf.get_end_iter()).splitlines()ifnotlines:returnifsumlenandlen(lines[0].rstrip())>sumlen:gdialog.Prompt(_('Warning'),_('The summary line length of %i is greater than %i')%(len(lines[0].rstrip()),sumlen),self).run()ifsumlenandlen(lines)>1andlen(lines[1].strip()):gdialog.Prompt(_('Warning'),_('The summary line is not followed by a blank line'),self).run()ifnotmaxlen:returnlnum=int(sumlen>0)whilelnum<len(lines):lines[lnum]=lines[lnum].rstrip()+' 'iflines[lnum].endswith('. '):lines[lnum]+=' 'iflen(lines[lnum].rstrip())>maxlen:ind=lines[lnum].rfind(' ',0,maxlen+1)+1ifind>0:iflnum==len(lines)-1ornotlines[lnum+1].strip():lines.insert(lnum+1,lines[lnum][ind:].lstrip())else:lines[lnum+1]=lines[lnum][ind:].lstrip() \
+lines[lnum+1]lines[lnum]=lines[lnum][0:ind].rstrip()lnum+=1buf.set_text('\n'.join(lines))defmsg_config(self,sender):dlg=thgconfig.ConfigDialog(True)dlg.show_all()dlg.focus_field('tortoisehg.summarylen')dlg.run()dlg.hide()self.repo=hg.repository(self.ui,self.repo.root)returndefrun(_ui,*pats,**opts):cmdoptions={'user':opts.get('user',''),'date':opts.get('date',''),'logfile':'','message':'','modified':True,'added':True,'removed':True,'deleted':True,'unknown':True,'ignored':False,'exclude':[],'include':[],'check':True,'git':False,'addremove':False,}returnGCommit(_ui,None,None,pats,cmdoptions)
Attach a Trello Card
Add a tag
Your session has expired
You are no longer logged in. Please log in and try your request again.
Filter RSS Feed
This RSS feed URL allows you to see the contents of your current filter using any feed reader.
This link includes a special authentication token. If you share the URL with anyone else, they can see this RSS feed's activity. You can disable these tokens when needed.
Your current filter is unsaved; changing it won't affect this RSS feed.