Import patches for the specified revision

nemo nemo1412 at gmail.com
Fri Dec 16 04:30:47 UTC 2011


Thanks for your solution, you solve my problem!

On 12/16/2011 12:04 PM, Kevin Bullock wrote:
> On 15 Dec 2011, at 8:27 PM, nemo wrote:
>
>> I'm developing a website on which users can browser their hg repos and
>> edit source codes on line, just like what github can do.
>>
>> In case multi users edit the same file at the same time, I must keep my
>> hand off the working copy. So I need the --bypass option.
>
> Stop right there. I'm pretty sure what GitHub does when you click the 
> 'edit' button is to _first_ create a fork (or more accurately, adds a 
> job to their queue to create a fork in the background), and then pops 
> open an editor. So your changes go in a separate working copy on the 
> server. This neatly avoids the whole problem you're seeking a solution to.
>
> pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
> Kevin R. Bullock
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111216/4ae2a5cc/attachment-0002.html>


More information about the Mercurial mailing list