1. Takayuki KONDO
  2. hghooks-and-scripts

Commits

Takayuki KONDO  committed a252536

change code to sjis-unix for Windows environment

  • Participants
  • Parent commits 5a8a303
  • Branches default

Comments (0)

Files changed (1)

File force-one-head.sh

View file
 #!/bin/bash
-# -*- coding:utf-8 -*-
+# -*- coding:sjis-unix -*-
 #
-# <repository>/.hg/hgrc に追記してください
+# <repository>/.hg/hgrc ‚É’Ç‹L‚ľ‚Ä‚­‚ž‚ł‚˘
 # -----------------------------------------------------------
 # [hooks]
 # pretxnchangegroup.forceonehead = .hg/force-one-head.sh
 # -----------------------------------------------------------
 
 if [ $(hg heads --template "{branch}\n"|sort|uniq|wc -l) != $(hg heads --template "{branch}\n"|sort|wc -l) ]; then
-    echo '[警告] マルチプルヘッドになっています'
-    echo '       hg pull して hg rebase を実行し、マージしてください'
-    echo '       # hg push -f はつかってはダメ'
+    echo '[Œx] ƒ}ƒ‹ƒ`ƒvƒ‹ƒwƒbƒh‚É‚Č‚Á‚Ä‚˘‚Ü‚ˇ'
+    echo '       hg pull ‚ľ‚Ä hg rebase ‚đŽŔs‚ľAƒ}[ƒW‚ľ‚Ä‚­‚ž‚ł‚˘'
+    echo '       # hg push -f ‚͂‚Š‚Á‚Ă̓_ƒ'
 
     exit 1
 fi