БЕГЕМОТИКОВ МОЖНО! Войти !bnw Сегодня Клубы
Привет, TbI — HRWKA! 1244.0 пользователей не могут ошибаться!
?6956
прекрасное6449
говно5914
говнорашка5512
хуита4727
anime3072
linux2657
music2639
bnw2606
рашка2572
log2365
ололо2213
дунч1862
pic1816
сталирасты1493
украина1439
быдло1438
bnw_ppl1430
дыбр1238
гімно1158

https://www.mercurial-scm.org/repo/hg/rev/964212780daf "Rust: implementation of `hg` This commit provides a mostly-working implementation of the `hg` script in Rust along with scaffolding to support Rust in the repository. If you are familiar with Rust, the contents of the added rust/ directory should be pretty straightforward. We create an "hgcli" package that implements a binary application to run Mercurial. The output of this package is an "hg" binary. Our Rust `hg` (henceforth "rhg") essentially is a port of the existing `hg` Python script. The main difference is the creation of the embedded CPython interpreter is handled by the binary itself instead of relying on the shebang. In that sense, rhg is more similar to the "exe wrapper" we currently use on Windows. However, unlike the exe wrapper, rhg does not call the `hg` Python script. Instead, it uses the CPython APIs to import mercurial modules and call appropriate functions. The amount of code here is surprisingly small. It is my intent to replace the existing C-based exe wrapper with rhg. Preferably in the next Mercurial release. This should be achievable - at least for some Mercurial distributions. The future/timeline for rhg on other platforms is less clear. We already ship a hg.exe on Windows. So if we get the quirks with Rust worked out, shipping a Rust-based hg.exe should hopefully not be too contentious."
#5QNZH2 (2+1) / @o01eg / 2665 дней назад
hg
Объясните мне, знатоки меркуриала, в чём дело. В документации на hg update ( http://www.selenic.com/mercurial/hg.1.html#update ) говорится: "If the changeset is not a descendant or ancestor of the working directory's parent, the update is aborted.". Я создал репку с примерно таким hg glog: http://paste.in.ua/10168/raw/ Если рабочая копия имеет родителя 1, то hg up 2 не должен проходить (согласно документации), а он проходит. Наверное, они имели в виду что-то другое в документации?
#3DY5M2 (0) / @gds / 3799 дней назад

«Mercurial: The Definitive Guide» гласит:

In most cases, trailing whitespace is unnecessary, invisible noise, but it is occasionally problematic

Что-то я не могу представить себе ситуацию, в которой trailing whitespace может создавать проблемы. Кто-то может привести пример?

#HAKPSU (11) / @minoru / 4255 дней назад

Меркуриалобоги, а подскажите аналог git checkout --patch для своей СКВ? Я сделал много всяких правок (ничего не коммитил пока что) и хочу некоторые из них откатить. Как мне это сделать?

#BVX5VI (0) / @minoru / 4401 день назад
Коллега подключил Билайн 3G. Один репозиторий Mercurial склонировал удачно, другой — ни в какую, всё время с ошибкой. По альтернативному порту http всё получилось.
#8DLGO4 (0) / @octagram / 4537 дней назад
Оказывается, ставить популярные, но не встроенные расширения Mercurial можно гораздо проще, проставляя галочки в настройках TortoiseHg. hggit, nearest и hgsubversion все там есть.
#XVO6S3 (0) / @octagram / 4669 дней назад
http://mercurial.selenic.com/wiki/NearestExtension При помощи этого почему–то нестандартного расширения в моём сборщике теперь проставляется подверсия.
#U26K6H (0) / @octagram / 4671 день назад
Bitbucket запустил поддержку Git в понедельник.
#8FKGRU (2+2) / @nixer / 4964 дня назад
ipv6 ready BnW для ведрофона BnW на Реформале Викивач Котятки

Цоперайт © 2010-2016 @stiletto.