From: <ror...@us...> - 2007-06-28 05:43:02
|
Revision: 43 http://roreditor.svn.sourceforge.net/roreditor/?rev=43&view=rev Author: rorthomas Date: 2007-06-27 22:43:01 -0700 (Wed, 27 Jun 2007) Log Message: ----------- Modified Paths: -------------- trunk/lib/ror/svn.py Modified: trunk/lib/ror/svn.py =================================================================== --- trunk/lib/ror/svn.py 2007-06-28 05:41:13 UTC (rev 42) +++ trunk/lib/ror/svn.py 2007-06-28 05:43:01 UTC (rev 43) @@ -27,6 +27,7 @@ def svnupdate(): global changes path = getRootPath() + changes = 0 try: import pysvn client = pysvn.Client() @@ -48,6 +49,7 @@ def svncheckout(): print "checkout" path = getRootPath() + changes = 0 try: import pysvn client = pysvn.Client() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ror...@us...> - 2007-06-28 05:43:59
|
Revision: 44 http://roreditor.svn.sourceforge.net/roreditor/?rev=44&view=rev Author: rorthomas Date: 2007-06-27 22:43:58 -0700 (Wed, 27 Jun 2007) Log Message: ----------- Modified Paths: -------------- trunk/lib/ror/svn.py Modified: trunk/lib/ror/svn.py =================================================================== --- trunk/lib/ror/svn.py 2007-06-28 05:43:01 UTC (rev 43) +++ trunk/lib/ror/svn.py 2007-06-28 05:43:58 UTC (rev 44) @@ -42,6 +42,8 @@ print "updated to revision %d." % revision_after if revision_before == revision_after and changes == 2: print "already up to date!" + elif changes > 2: + print "updated! please restart the application!" except Exception, inst: print "error while updating: " + str(inst) print "done." This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ror...@us...> - 2007-06-28 18:57:46
|
Revision: 54 http://roreditor.svn.sourceforge.net/roreditor/?rev=54&view=rev Author: rorthomas Date: 2007-06-28 11:57:43 -0700 (Thu, 28 Jun 2007) Log Message: ----------- * added log messages Modified Paths: -------------- trunk/lib/ror/svn.py Modified: trunk/lib/ror/svn.py =================================================================== --- trunk/lib/ror/svn.py 2007-06-28 18:50:12 UTC (rev 53) +++ trunk/lib/ror/svn.py 2007-06-28 18:57:43 UTC (rev 54) @@ -32,6 +32,20 @@ def callback_ssl_server_trust_prompt(trust_data): return True, trust_data['failures'], True +def getLog(client, startrev, endrev): + path = getRootPath() + return client.log(path, + revision_start=pysvn.Revision(opt_revision_kind.number, startrev), + revision_end=pysvn.Revision(opt_revision_kind.number, endrev), + discover_changed_paths=False, + strict_node_history=True, + limit=0) + +def showLog(client, startrev, endrev): + log = getLog(client, startrev, endrev) + for e in log: + print "--r%d:%s:\n%s\n" %(e['revision'].number, e['author'], e['message']) + def svnupdate(): global changes path = getRootPath() @@ -52,6 +66,7 @@ print "already up to date!" elif changes > 2: print "updated! please restart the application!" + showLog(client, revision_before, revision_after) except Exception, inst: print "error while updating: " + str(inst) print "done." This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ror...@us...> - 2007-06-28 18:59:45
|
Revision: 55 http://roreditor.svn.sourceforge.net/roreditor/?rev=55&view=rev Author: rorthomas Date: 2007-06-28 11:59:44 -0700 (Thu, 28 Jun 2007) Log Message: ----------- * added changelog title Modified Paths: -------------- trunk/lib/ror/svn.py Modified: trunk/lib/ror/svn.py =================================================================== --- trunk/lib/ror/svn.py 2007-06-28 18:57:43 UTC (rev 54) +++ trunk/lib/ror/svn.py 2007-06-28 18:59:44 UTC (rev 55) @@ -42,6 +42,8 @@ limit=0) def showLog(client, startrev, endrev): + print "------------------------------------" + print "Changelog from r%d to r%d\n" % (startrev, endrev) log = getLog(client, startrev, endrev) for e in log: print "--r%d:%s:\n%s\n" %(e['revision'].number, e['author'], e['message']) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ror...@us...> - 2007-06-28 19:01:44
|
Revision: 56 http://roreditor.svn.sourceforge.net/roreditor/?rev=56&view=rev Author: rorthomas Date: 2007-06-28 12:01:43 -0700 (Thu, 28 Jun 2007) Log Message: ----------- * small logging bugfix Modified Paths: -------------- trunk/lib/ror/svn.py Modified: trunk/lib/ror/svn.py =================================================================== --- trunk/lib/ror/svn.py 2007-06-28 18:59:44 UTC (rev 55) +++ trunk/lib/ror/svn.py 2007-06-28 19:01:43 UTC (rev 56) @@ -35,8 +35,8 @@ def getLog(client, startrev, endrev): path = getRootPath() return client.log(path, - revision_start=pysvn.Revision(opt_revision_kind.number, startrev), - revision_end=pysvn.Revision(opt_revision_kind.number, endrev), + revision_start=pysvn.Revision(pysvn.opt_revision_kind.number, startrev), + revision_end=pysvn.Revision(pysvn.opt_revision_kind.number, endrev), discover_changed_paths=False, strict_node_history=True, limit=0) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ror...@us...> - 2007-06-28 19:04:21
|
Revision: 57 http://roreditor.svn.sourceforge.net/roreditor/?rev=57&view=rev Author: rorthomas Date: 2007-06-28 12:04:19 -0700 (Thu, 28 Jun 2007) Log Message: ----------- * small log format fixes Modified Paths: -------------- trunk/lib/ror/svn.py Modified: trunk/lib/ror/svn.py =================================================================== --- trunk/lib/ror/svn.py 2007-06-28 19:01:43 UTC (rev 56) +++ trunk/lib/ror/svn.py 2007-06-28 19:04:19 UTC (rev 57) @@ -43,10 +43,10 @@ def showLog(client, startrev, endrev): print "------------------------------------" - print "Changelog from r%d to r%d\n" % (startrev, endrev) + print "Changelog from revision %d to revision %d\n" % (startrev, endrev) log = getLog(client, startrev, endrev) for e in log: - print "--r%d:%s:\n%s\n" %(e['revision'].number, e['author'], e['message']) + print "--- r%d, author: %s:\n%s\n" %(e['revision'].number, e['author'], e['message']) def svnupdate(): global changes This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ror...@us...> - 2007-06-28 19:05:32
|
Revision: 58 http://roreditor.svn.sourceforge.net/roreditor/?rev=58&view=rev Author: rorthomas Date: 2007-06-28 12:05:32 -0700 (Thu, 28 Jun 2007) Log Message: ----------- * log bugfix the third :D Modified Paths: -------------- trunk/lib/ror/svn.py Modified: trunk/lib/ror/svn.py =================================================================== --- trunk/lib/ror/svn.py 2007-06-28 19:04:19 UTC (rev 57) +++ trunk/lib/ror/svn.py 2007-06-28 19:05:32 UTC (rev 58) @@ -68,7 +68,7 @@ print "already up to date!" elif changes > 2: print "updated! please restart the application!" - showLog(client, revision_before, revision_after) + showLog(client, revision_before + 1, revision_after) except Exception, inst: print "error while updating: " + str(inst) print "done." This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ror...@us...> - 2007-07-16 13:18:36
|
Revision: 108 http://roreditor.svn.sourceforge.net/roreditor/?rev=108&view=rev Author: rorthomas Date: 2007-07-16 06:18:30 -0700 (Mon, 16 Jul 2007) Log Message: ----------- * svn update bugfix Modified Paths: -------------- trunk/lib/ror/svn.py Modified: trunk/lib/ror/svn.py =================================================================== --- trunk/lib/ror/svn.py 2007-07-16 12:37:26 UTC (rev 107) +++ trunk/lib/ror/svn.py 2007-07-16 13:18:30 UTC (rev 108) @@ -79,8 +79,11 @@ client = pysvn.Client() # try to restore previous broken updates - client.unlock(path) - client.cleanup(path) + try: + client.unlock(path) + client.cleanup(path) + except: + pass revision_before = getRevision(client, path) print "updating from revision %d ..." % revision_before This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |