ooo-build r13221 - in trunk: . scratch/rcsutil/src
- From: kyoshida svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r13221 - in trunk: . scratch/rcsutil/src
- Date: Tue, 15 Jul 2008 14:22:24 +0000 (UTC)
Author: kyoshida
Date: Tue Jul 15 14:22:23 2008
New Revision: 13221
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13221&view=rev
Log:
2008-07-15 Kohei Yoshida <kyoshida novell com>
* scratch/rcsutil/src/revision.py: fixed a bug in branch name tracking.
Modified:
trunk/ChangeLog
trunk/scratch/rcsutil/src/revision.py
Modified: trunk/scratch/rcsutil/src/revision.py
==============================================================================
--- trunk/scratch/rcsutil/src/revision.py (original)
+++ trunk/scratch/rcsutil/src/revision.py Tue Jul 15 14:22:23 2008
@@ -11,7 +11,6 @@
def __init__ (self, num, parent):
self.num = num
self.children = {}
- self.tags = []
self.branchName = ''
self.parent = parent
@@ -82,6 +81,10 @@
nums = nums2
n -= 1
+# sys.stderr.write ("is branch name '%s' %d '%s'\n"%(revision,isBranchName,name))
+ if not isBranchName:
+ return
+
currentNode = self.root
for i in xrange(1, n):
num = nums[i]
@@ -90,10 +93,7 @@
currentNode = currentNode.children[num]
if i == n - 1:
# last node
- if isBranchName:
- currentNode.branchName = name
- else:
- currentNode.tags.append(name)
+ currentNode.branchName = name
def output (self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]