##// END OF EJS Templates
merge
marcink -
r656:36f83988 merge beta
parent child Browse files
Show More
@@ -342,14 +342,9 def repo2db_mapper(initial_repo_list, re
342 if not rm.get(name, cache=False):
342 if not rm.get(name, cache=False):
343 log.info('repository %s not found creating default', name)
343 log.info('repository %s not found creating default', name)
344
344
345 if isinstance(repo, MercurialRepository):
346 repo_type = 'hg'
347 if isinstance(repo, GitRepository):
348 repo_type = 'git'
349
350 form_data = {
345 form_data = {
351 'repo_name':name,
346 'repo_name':name,
352 'repo_type':repo_type,
347 'repo_type':repo.alias,
353 'description':repo.description if repo.description != 'unknown' else \
348 'description':repo.description if repo.description != 'unknown' else \
354 'auto description for %s' % name,
349 'auto description for %s' % name,
355 'private':False
350 'private':False
@@ -111,6 +111,7 class RepoModel(object):
111 def create(self, form_data, cur_user, just_db=False, fork=False):
111 def create(self, form_data, cur_user, just_db=False, fork=False):
112 try:
112 try:
113 if fork:
113 if fork:
114 #force str since hg doesn't go with unicode
114 repo_name = str(form_data['fork_name'])
115 repo_name = str(form_data['fork_name'])
115 org_name = str(form_data['repo_name'])
116 org_name = str(form_data['repo_name'])
116
117
@@ -1542,7 +1542,7 background:#F88;
1542
1542
1543 .right .merge {
1543 .right .merge {
1544 vertical-align:top;
1544 vertical-align:top;
1545 font-size:60%;
1545 font-size:0.75em;
1546 font-weight:700;
1546 font-weight:700;
1547 }
1547 }
1548
1548
@@ -1554,13 +1554,15 font-family:monospace;
1554 .right .logtags .branchtag {
1554 .right .logtags .branchtag {
1555 background:#FFF url("../images/icons/arrow_branch.png") no-repeat right 6px;
1555 background:#FFF url("../images/icons/arrow_branch.png") no-repeat right 6px;
1556 display:block;
1556 display:block;
1557 padding:8px 16px 0 0;
1557 font-size:0.8em;
1558 padding:11px 16px 0 0;
1558 }
1559 }
1559
1560
1560 .right .logtags .tagtag {
1561 .right .logtags .tagtag {
1561 background:#FFF url("../images/icons/tag_blue.png") no-repeat right 6px;
1562 background:#FFF url("../images/icons/tag_blue.png") no-repeat right 6px;
1562 display:block;
1563 display:block;
1563 padding:6px 18px 0 0;
1564 font-size:0.8em;
1565 padding:11px 16px 0 0;
1564 }
1566 }
1565
1567
1566 div.browserblock {
1568 div.browserblock {
@@ -58,9 +58,12
58 </div>
58 </div>
59 <div class="right">
59 <div class="right">
60 <div class="changes">
60 <div class="changes">
61 <span class="removed" title="${_('removed')}">${len(cs.removed)}</span>
61 <span class="removed" title="${_('removed')}: ${' | '.join([x.name for x in cs.removed])}">
62 <span class="changed" title="${_('changed')}">${len(cs.changed)}</span>
62 ${len(cs.removed)}</span>
63 <span class="added" title="${_('added')}">${len(cs.added)}</span>
63 <span class="changed" title="${_('changed')}: ${' | '.join([x.name for x in cs.changed])}">
64 ${len(cs.changed)}</span>
65 <span class="added" title="${_('added')}: ${' | '.join([x.name for x in cs.added])}">
66 ${len(cs.added)}</span>
64 </div>
67 </div>
65 %if len(cs.parents)>1:
68 %if len(cs.parents)>1:
66 <div class="merge">
69 <div class="merge">
General Comments 0
You need to be logged in to leave comments. Login now