Skip to content

Commit

Permalink
remove sourceforge git url
Browse files Browse the repository at this point in the history
  • Loading branch information
5263 committed Jul 19, 2015
1 parent c2bedae commit 519d93f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/Tools/SubWCRev.py
Expand Up @@ -156,7 +156,7 @@ def geturl(self):
match = re.match('ssh://\S+?@(\S+)',url)
if match is not None:
url = 'git://%s' % match.group(1)
entryscore=(url=='git://git.code.sf.net/p/free-cad/code',\
entryscore=(url == "git://github.com/FreeCAD/FreeCAD.git",\
'github.com' in url,branch==self.branch,\
branch=='master', '@' not in url)
#used for sorting the list
Expand All @@ -178,8 +178,8 @@ def revisionNumber(self, srcdir,origin=None):
different form the master repository"""
#referencecommit="f119e740c87918b103140b66b2316ae96f136b0e"
#referencerevision=4138
referencecommit="49646282910aeef73db44943b88df06f0957422c"
referencerevision=4244
referencecommit="6b3d7b17a749e03bcbf2cf79bbbb903137298c44"
referencerevision=5235

result = None
countallfh=os.popen("git rev-list --count %s..HEAD" % \
Expand Down Expand Up @@ -251,9 +251,8 @@ def extractInfo(self, srcdir):
remote='origin' #used to determine the url
self.geturl()
origin = None #remote for the blessed master
for fetchurl in ("git.code.sf.net/p/free-cad/code",\
"git@github.com:FreeCAD/FreeCAD_sf_master.git",\
"https://github.com/FreeCAD/FreeCAD_sf_master.git"):
for fetchurl in ("git@github.com:FreeCAD/FreeCAD.git",\
"https://github.com/FreeCAD/FreeCAD.git"):
for key,url in self.remotes.iteritems():
if fetchurl in url:
origin = key
Expand Down

0 comments on commit 519d93f

Please sign in to comment.