Allura/allura/model/repository.py
def clone_url(self, category, username=''):
        '''Return a URL string suitable for copy/paste that describes _this_ repo,
           e.g., for use in a clone/checkout command
        '''
        if self.app.config.options.get('external_checkout_url', None):
            tpl = string.Template(self.app.config.options.external_checkout_url)
        else:
            tpl = string.Template(
                tg.config.get('scm.host.%s.%s' % (category, self.tool)))
        return tpl.substitute(dict(username=username, path=self.url_path + self.name))
Return a URL string suitable for copy/paste that describes _this_ repo,
           e.g., for use in a clone/checkout command
        
Return a URL string suitable for copy/paste that describes _this_ repo,
e.g., for use in a clone/checkout command
Return a URL string suitable for copy / paste that describes _this_ repo e . g . for use in a clone / checkout command
def clone_url(self, category, username=''):
        if self.app.config.options.get('external_checkout_url', None):
            tpl = string.Template(self.app.config.options.external_checkout_url)
        else:
            tpl = string.Template(
                tg.config.get('scm.host.%s.%s' % (category, self.tool)))
        return tpl.substitute(dict(username=username, path=self.url_path + self.name))
def clone_url ( self , category , username = '' ) : if self . app . config . options . get ( 'external_checkout_url' , None ) : tpl = string . Template ( self . app . config . options . external_checkout_url ) else : tpl = string . Template ( tg . config . get ( 'scm.host.%s.%s' % ( category , self . tool ) ) ) return tpl . substitute ( dict ( username = username , path = self . url_path + self . name ) )
Return a URL string suitable for copy/paste that describes _this_ repo,
e.g., for use in a clone/checkout command
Return a URL string suitable for copy / paste that describes _this_ repo e . g . for use in a clone / checkout command
'''Return a URL string suitable for copy/paste that describes _this_ repo,
           e.g., for use in a clone/checkout command
        '''
self
category
username