[Ns-developers] creating mercurial repos on code.nsnam.org
Gustavo Carneiro
gjcarneiro at gmail.com
Wed Mar 4 08:16:46 PST 2009
2009/3/4 Mathieu Lacage <mathieu.lacage at sophia.inria.fr>
> hi,
>
> I just noticed that recent versions of mercurial now support ssh-based
> remote repository creation:
>
> -bash-3.2$ hg init
> ssh://mathieu@code.nsnam.org/repositories/mathieu/ns-3-xml
> -bash-3.2$<http://mathieu@code.nsnam.org/repositories/mathieu/ns-3-xml%0A-bash-3.2$>hg push
> ssh://mathieu@code.nsnam.org/repositories/mathieu/ns-3-xml
> pushing to ssh://mathieu@code.nsnam.org/repositories/mathieu/ns-3-xml
> searching for changes
>
>
> alternatively the following also would work:
> -bash-3.2$ hg clone .
> ssh://mathieu@code.nsnam.org/repositories/mathieu/ns-3-xml
Personally, I already knew this for a long time [1], but doesn't doing this
trigger that huge email to the commits list with all the changesets?
[1] the reason was that when I complained that it was bad that mercurial
incompatibly changed repository file storage format in a micro version
upgrade, I was told I should have been doing the hg clone . remote-url trick
instead of manually copying the files, to avoid the problem.
--
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
More information about the Ns-developers
mailing list