タグ

Mercurialに関するnozomのブックマーク (9)

  • Setup your own hg local repo with pushlog

  • Mercurial 勉強中 (7) - Web 経由の push と HTTP 認証 - daily dayflower

    Web 経由で Mercurial のレポジトリを公開すると,デフォルトの状態では clone / pull しかできません。push するためには設定が必要になります。 なお今回は hgweb.cgi や mod_wsgi 経由*1等で Apache と絡めた場合の話になります。 というのは,hg serve コマンドで起動される HTTP サーバは BaseHTTPServer をもとにしているのですが,ビルトインの機能としては Authentication をサポートしておらず((自力で WWW-Authenticate ヘッダ等やりとりすればいけるんじゃとは思います。詳しくないので自信ないです。)),また hgweb.server モジュールでもハンドリングしていないので認証関連の機能が実装されていないためです。 設定子 hgrc 設定ファイルで下記のものが特に関係のある設定子です

    Mercurial 勉強中 (7) - Web 経由の push と HTTP 認証 - daily dayflower
  • 単一の changeset を分割する(ファイル単位の場合) - daily dayflower

    いま working copy がこんな状態だとする。 $ hg status M aaa M bbb M cccとりあえず aaa だけ commit しようと思って…… $ hg ci -m 'modified aaa'あああパス指定するの忘れた。 $ hg statusbbb, ccc も changeset に取り込まれてしまった! やりなおしたい!(あるある……というか,いまさっきやってしまった) こんな時にも MQ は使えます。 MQ にとりこむべき changeset の revision number を知るために,とりあえず hg log してみる。 $ hg log changeset: 1:e8d6debe7796 tag: tip user: dayflower <[email protected]> date: Tue Jun 02 15:43:50 20

    単一の changeset を分割する(ファイル単位の場合) - daily dayflower
  • Mercurial MQ について - daily dayflower

    巷では git の大ブームだけど,ひさしぶりに Mercurial について書きます。 Mercurial について言及されたブログとか読んでいるとき,たまに MQ という言葉を目にして気になっていた。ながらく気にはとめつつ全然調べていなかったんだけど,ちょっと利用しようかなというケースがあり,ちょこっと触ってみた。 自分の理解では,MQ (Mercurial Queues) とは,誤解を恐れずにいえば Mercurial の changeset と独立して構成される修正履歴(パッチ)のスタックのようなものだ。 (なので今後 MQ の patch queues を Queues という名称と裏腹に「パッチスタック」「パッチ群」などと勝手に呼び称します) 「誤解を恐れずにいえば」と書いたけれど,この直感的な印象は MQ を使っていくうちに――大筋では変わらないものの――ちょっと変わった。それ

    Mercurial MQ について - daily dayflower
  • MqTutorial - Mercurial

    Also see the corresponding chapters, 12 and 13, in the HG Book. Mq Tutorial 1. Mq for the impatient It's one of those things that sounds a lot harder than it is. It's basically just orthogonal, mutable changesets. The mutability is exactly what it sounds like you're looking for. You can keep revising a changeset until it's good enough, then transfer control to regular Mercurial. Basically, you do

  • SubversionToMercurialHowto - Mercurial

    Subversion-to-Mercurial How-To This is a quick "how-to" on how to use Mercurial to work locally with a remote read-only Subversion repository. Many open-source projects now use Subversion, and rather than allow write access to their repository they accept patches in "universal diff" format. This how-to will show you how to set up your own Mercurial repositories to mirror the Subversion repositorie

  • DVC: Distributed Version Control for Emacs

    DVC is a unified Emacs front-end to a number of distributed version control systems.DVC is a common Emacs front-end for a number of distributed version control systems. It currently supports GNU Arch, Bazaar, git, Mercurial, and Monotone. Support for Darcs is being worked on but still lacks some features. See the table below for details. DVC is available as a Bazaar branch. To get a local copy

  • はてなブログ | 無料ブログを作成しよう

    瀬戸内国際芸術祭2025・直島に行ってきました。 日帰りチャンスがあったので初めての瀬戸芸、直島へ! 直島は常設展示のものも多く、瀬戸芸開催期間中に行くことにこだわる必要はまったくないんだけど、この日程でしか無理だったので暑さ&混雑を覚悟の上で平日に行ってきました。思ってたより混雑はしておらず、思っ…

    はてなブログ | 無料ブログを作成しよう
  • Mercurial の利用

    重要: Mercurial の 1.x ⇒ 2.0 では、 コンセプト/操作性/互換性等における大きな改変はありません。 あくまで通常の定例アップデートに過ぎませんので、 従来の版を元に書かれている情報の多くは、そのまま適用可能です。 はじめに ノート PC での移動中作業が多くて 「オフラインでコミット/ブランチ作成/履歴参照/差分参照できない」 ことに不便を感じていたり、 「システム構成例」 に示すような構成管理の仕組みを必要とした経験がある場合、 分散リポジトリ形式を用いる Mercurial は、 試してみる価値のあるソフトウェア構成管理 (SCM: Software Configuration Management) ツールと言えます。 しかし、 CVS などを常用して SCM ツールの原理/概念を理解している人でも、 意外に「分散リポジトリ」という考え方がピンとこない場合が有る

  • 1