Mercurial > hg > mercurial-crew-with-dirclash
view templates/manifest-gitweb.tmpl @ 2021:fc22ed56afe3
Fix hg push and hg push -r sometimes creating new heads without --force.
Fixing issue179.
The algorithm checks if there not more new heads on the remote side than heads
which become non-heads due to getting children.
Pushing this repo:
m
/\
3 3a|
|/ /
2 2a
|/
1
to a repo only having 1, 2 and 3 didn't abort requiring --force before.
Added test cases for this and some doc strings for used methods.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 29 Mar 2006 22:35:21 +0200 |
parents | f2ebd5251e88 |
children | 783220e5d2d1 |
line wrap: on
line source
#header# <title>#repo|escape#: Manifest</title> <link rel="alternate" type="application/rss+xml" href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#"> </head> <body> <div class="page_header"> <a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="?cmd=summary;style=gitweb">#repo|escape#</a> / manifest </div> <div class="page_nav"> <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | manifest | <a href="?cs=#node|short#;style=gitweb">changeset</a> #archives%archiveentry#<br/> </div> <div class="title" >#path|escape#</div> <div class="page_body"> <table cellspacing="0"> <tr class="light"> <td style="font-family:monospace">drwxr-xr-x</td> <td><a href="?cmd=manifest;manifest=#manifest#;path=#up|urlescape#;style=gitweb">[up]</a></td> <td class="link"> </td> </tr> #dentries%manifestdirentry# #fentries%manifestfileentry# </table> #footer#