Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
marcink
- Thu, 21 Feb 2013 01:31:21
Show More
rhodecode/controllers/pullrequests.py
0
+1
-1
@@
-141,7
+141,7
b' class PullrequestsController(BaseRepoCon'
141
141
c . default_other_refs , class_ = 'refs' )
142
142
}
143
143
144
# gather forks and add to this list ... even though it is rare to
144
# gather forks and add to this list ... even though it is rare to
145
145
# request forks to pull their parent
146
146
for fork in org_repo . forks :
147
147
c . other_repos . append (( fork . repo_name , fork . repo_name ))
rhodecode/lib/vcs/backends/git/changeset.py
0
+1
-1
@@
-364,7
+364,7
b' class GitChangeset(BaseChangeset):'
364
364
else :
365
365
frmt = 'tar'
366
366
_git_path = rhodecode . CONFIG . get ( 'git_path' , 'git' )
367
cmd = ' %s archive --format= %s --prefix= %s / %s ' % ( _git_path ,
367
cmd = ' %s archive --format= %s --prefix= %s / %s ' % ( _git_path ,
368
368
frmt , prefix , self . raw_id )
369
369
if kind == 'tgz' :
370
370
cmd += ' | gzip -9'
rhodecode/templates/admin/repos/repo_edit.html
0
+2
-2
@@
-292,10
+292,10
b''
292
292
< div class = "fields" >
293
293
${h.submit('remove_%s' % c.repo_info.repo_name,_('Remove this repository'),class_="ui-btn red",onclick="return confirm('"+_('Confirm to delete this repository')+"');")}
294
294
%if c.repo_info.forks.count():
295
- ${ungettext('this repository has %s fork', 'this repository has %s forks', c.repo_info.forks.count()) % c.repo_info.forks.count()}
295
- ${ungettext('this repository has %s fork', 'this repository has %s forks', c.repo_info.forks.count()) % c.repo_info.forks.count()}
296
296
< input type = "radio" name = "forks" value = "detach_forks" checked = "checked" /> < label for = "forks" > ${_('Detach forks')} </ label >
297
297
< input type = "radio" name = "forks" value = "delete_forks" /> < label for = "forks" > ${_('Delete forks')} </ label >
298
%endif
298
%endif
299
299
</ div >
300
300
< div class = "field" style = "border:none;color:#888" >
301
301
< ul >
rhodecode/templates/admin/users/user_edit_my_account_pullrequests.html
0
+2
-2
@@
-9,7
+9,7
b''
9
9
%if pull_request.is_closed():
10
10
< img src = "${h.url('/images/icons/lock_go.png')}" title = "${_('Closed')}" />
11
11
%endif
12
< img src = "${h.url('/images/icons/flag_status_%s.png' % str(pull_request.last_review_status))}" />
12
< img src = "${h.url('/images/icons/flag_status_%s.png' % str(pull_request.last_review_status))}" />
13
13
< a href = "${h.url('pullrequest_show',repo_name=pull_request.other_repo.repo_name,pull_request_id=pull_request.pull_request_id)}" >
14
14
${_('Pull request #%s opened on %s') % (pull_request.pull_request_id, h.fmt_date(pull_request.created_on))}
15
15
</ a >
@@
-36,7
+36,7
b''
36
36
%if pull_request.is_closed():
37
37
< img src = "${h.url('/images/icons/lock_go.png')}" title = "${_('Closed')}" />
38
38
%endif
39
< img src = "${h.url('/images/icons/flag_status_%s.png' % str(pull_request.last_review_status))}" />
39
< img src = "${h.url('/images/icons/flag_status_%s.png' % str(pull_request.last_review_status))}" />
40
40
< a href = "${h.url('pullrequest_show',repo_name=pull_request.other_repo.repo_name,pull_request_id=pull_request.pull_request_id)}" >
41
41
${_('Pull request #%s opened by %s on %s') % (pull_request.pull_request_id, pull_request.author.full_name, h.fmt_date(pull_request.created_on))}
42
42
</ a >
rhodecode/templates/base/base.html
0
+1
-1
rhodecode/templates/base/root.html
0
+1
-1
@@
-85,7
+85,7
b''
85
85
// routes registration
86
86
pyroutes . register ( 'toggle_following' , "${h.url('toggle_following')}" );
87
87
pyroutes . register ( 'changeset_info' , "${h.url('changeset_info', repo_name='%(repo_name)s', revision='%(revision)s')}" , [ 'repo_name' , 'revision' ]);
88
pyroutes . register ( 'repo_size' , "${h.url('repo_size', repo_name='%(repo_name)s')}" , [ 'repo_name' ]);
88
pyroutes . register ( 'repo_size' , "${h.url('repo_size', repo_name='%(repo_name)s')}" , [ 'repo_name' ]);
89
89
})
90
90
</ script >
91
91
< /%def>
rhodecode/templates/index_base.html
0
+1
-1
@@
-13,7
+13,7
b''
13
13
< span > ${h.link_to(_('Add repository'),h.url('admin_settings_create_repository',parent_group=c.group.group_id))} </ span >
14
14
%if h.HasPermissionAny('hg.admin')() or h.HasReposGroupPermissionAny('group.admin')(c.group.group_name):
15
15
< span > ${h.link_to(_(u'Add group'),h.url('new_repos_group', parent_group=c.group.group_id))} </ span >
16
%endif
16
%endif
17
17
%else:
18
18
< span > ${h.link_to(_('Add repository'),h.url('admin_settings_create_repository'))} </ span >
19
19
%if h.HasPermissionAny('hg.admin')():
rhodecode/templates/pullrequests/pullrequest_show.html
0
+1
-1
@@
-174,7
+174,7
b''
174
174
pyroutes . register ( 'pullrequest_comment' , "${url('pullrequest_comment',repo_name='%(repo_name)s',pull_request_id='%(pull_request_id)s')}" , [ 'repo_name' , 'pull_request_id' ]);
175
175
pyroutes . register ( 'pullrequest_comment_delete' , "${url('pullrequest_comment_delete',repo_name='%(repo_name)s',comment_id='%(comment_id)s')}" , [ 'repo_name' , 'comment_id' ]);
176
176
pyroutes . register ( 'pullrequest_update' , "${url('pullrequest_update',repo_name='%(repo_name)s',pull_request_id='%(pull_request_id)s')}" , [ 'repo_name' , 'pull_request_id' ]);
177
177
178
178
</ script >
179
179
180
180
## diff block
rhodecode/tests/test_libs.py
0
+2
-2
@@
-227,10
+227,10
b' class TestLibs(unittest.TestCase):'
227
227
( "ffffffffffff some text traalaa" ,
228
228
"url[ffffffffffff] some text traalaa" ),
229
229
( """Multi line
230
123123123123
230
123123123123
231
231
some text 123123123123""" ,
232
232
"""Multi line
233
url[123123123123]
233
url[123123123123]
234
234
some text url[123123123123]""" )
235
235
])
236
236
def test_urlify_changesets ( self , sample , expected ):
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages