Meadow ãã Subversion ã使ã£ã¦ã¿ã
Subversionã®ããããåºæ¬ã¯æ´ããã®ã§ã
ã¤ãã§ã«psvn.elã¨ããElispã使ã£ã¦
MeadowããSubversionã使ã£ã¦ã¿ããã¨ã«ããã
psvn.elã使ãã«ã¯psvn.elãsite-lisp以ä¸ã«ç½®ãã¦ã
以ä¸ã.emcasã«è¿½å ããã°OKã
;;; psvn ã®è¨å® ;; EmacsããSubversionã使ã (require 'psvn)
ã§ãæ©é使ã£ã¦ã¿ããã ãã©ã
ããã¼ã»ã»ã»ãããå
¨ç¶åãããªã( ´ã»Ïã»`)
ã¨ããããä»ååãã£ããã¨ãã¡ã¢ãã¦ããã
以ä¸ãå
¨ã¦ã®æä½ã¯Meadowä¸ã§è¡ãã
ãªãã¸ããªã®ä½æ
ã¾ãSVNã§ä½¿ããªãã¸ããªç¨ã®ãã£ã¬ã¯ããªãç¨æããã
C-x f /svn/ã§ã/svn/ãdiredã§éãã+ ãå
¥åãã¦ãã£ã¬ã¯ããªã®ä½æã
ãã£ã¬ã¯ããªåã¯jinroã
ï¼äººç¼ã®ããã¸ã§ã¯ããªã®ã§ããï¼
次ã«ãªãã¸ããªã®ä½æã
M-x svn-admin-create ããã®ãã®ãã°ããªã³ãã³ãã£ã½ããã©ã
ãã¾ããªãã¸ããªãã§ãã¦ãã®ãä¸å®ãªã®ã§ã
eshellãã以ä¸ãå
¥åããæ¹ãå®å¿ã
> svnadmin create /svn/jinro/
ã¤ã³ãã¼ã
ãªãã¸ããªã«ãã¼ã¸ã§ã³ç®¡çãããã¡ã¤ã«ã¨ãã£ã¬ã¯ããªãã¤ã³ãã¼ãããããã
C-x f ~/ruby/jinro/ ã§ç§»åã
+ ã§3ã¤ã®ãã£ã¬ã¯ã㪠trunkãtagsãbranches ãä½ãã
ããã¦ãå
ã
~/ruby/jinro/ ã«ãã£ããã¡ã¤ã«ã¨ãã£ã¬ã¯ããªãã
丸ã㨠trunk 以ä¸ã«ç§»åãããã
ãã¡ã¤ã«ã¨ãã£ã¬ã¯ããªã®ä¸ã§ m ãæ¼ãã° * ãã¼ã¯ãã¤ãã
C ãå
¥åããã¨ãã¼ã¯ãããã®ãã¾ã¨ãã¦ç§»åã§ããã
psvnã§ã®ã¤ã³ãã¼ãã¯ããã¶ããã£ã¨ M-x svn-admin-start-import
ããè¡ãã®ã ãããã©ããããã»ãã¨ã«ããåãããªãã®ã§ã
ãã£ã±ãeshellãã以ä¸ã®ããã«ã¤ã³ãã¼ãããã
C:\home\gan2\ruby\jinro> svn import . file:///c:/svn/jinro/
ãªãã¸ã§ã³ï¼ãã³ããããã¾ããã
ã¨ããã¡ãã»ã¼ã¸ãåºãã°OKã
ã¤ã³ãã¼ãï¼psvnï¼
M-x svn-admin-start-create ãããã¨ã
ãã¼ã«ã«ã«ãªãã¸ããªãä½ããï¼ã¨èãããããã㯠n ã¨çãã¦ããã
ãªãã¸ããªã®URL㯠file:///c:/svn/jinro/ã
ã¡ãªã¿ã«ãy ã¨çãã¦ããã¦ã
/svn/jinro/ã¨å
¥åããã¨ã
file://c:/svn/jinro/ ã¯ééã£ãURLã§ãã¿ãããªãã¨ãè¨ãããã
ããééã£ã¦ãããfile:/// ã®ã¨ãã / 1ã¤è¶³ããªããã
ã ãã y ã¨ã¯ããªã㧠n ã¨ãããã¨ã
ããã§ãªãããdiredã£ã½ããããã¡ãéããã ãã©ã
ããã§ä½ãã©ããããã¤ã³ãã¼ããããã¨ã«ãªãã®ããåãããªãã»ã»ã»ã
ãã§ãã¯ã¢ã¦ã
ãã§ãã¯ã¢ã¦ãããM-x svn-checkout ã使ãã¨ã
ã§ãããããªã§ãã¦ãªããããªããåãããªããã¨ã«ãªãã®ã§ã
ãã£ã±ãeshellã§ãã*1ã
ã ãã©ãã®åã«ããã®ã¾ã¾ã ã¨ãã§ãã¯ã¢ã¦ããã§ããªãã®ã§ã
.svn以å¤ã®ãã¡ã¤ã«ã¨ãã£ã¬ã¯ããªãä¸æ¦å
¨é¨æ¶ãã
diredãªããd ãå
¥åããã¨ããã«ã D ãã¼ã¯ãã¤ãã
ã¾ã¨ãã¦ãã¼ã¯ãã¤ãã¦ãx ã§ä¸æ¬åé¤ã
ãã§ãã¯ã¢ã¦ãã¯ä»¥ä¸ã®ã³ãã³ãã§OKã
C:\home\gan2\ruby\jinro> svn checkout file:///c:/svn/jinro/ .
ããã§ããªãã¸ã§ã³ï¼ããã§ãã¯ã¢ã¦ããã¾ããã£ã¦åºãã
ãããã psvn ã®åºçª
ããããã¯åããã
M-x svn-status 㧠dired ããã¯ãªãããã¡ã表示ããã
ãã¼ã¸ã§ã³ç®¡çããã¦ãããã¡ã¤ã«ããã£ã¬ã¯ããªã¨ã
ãã®ãªãã¸ã§ã³ã確èªãããã¨ãã§ããã
ãã¡ã¤ã«ãç·¨éããã°ãã®é ã« M ãã¤ãã
ã³ãããããããã¡ã¤ã«ã®ä¸ã§ c ãå
¥åããã°ã
ã³ã¡ã³ãç¨ã®ãããã¡ãéãã
ã³ã¡ã³ããå
¥åãã¦ï¼ããªãã¦ããããã©ããæ¹ããããï¼ã
C-c C-c ã§ã³ããããããã
ã¢ãããã¼ã㯠U ãæ¼ãã°ã§ãããAdd 㯠Aã
åè
- http://www-aos.eps.s.u-tokyo.ac.jp/~takagi/SubversionMemo.html
- Subversionã®ããã¾ã¨ã¾ã£ã解説ãpsvnã®ç´¹ä»ã¯ä¸ã®æ¹ã«ããã
- psvn
- psvn.elã®ã³ã¡ã³ãã®å訳ï¼ã¡ãã£ã¨å¤ããï¼
- http://viz.is-a-geek.com/~viz/cw/index.php?psvn
- ãã使ãã³ãã³ãã表ã§ã¾ã¨ãããã¦ããã
- pcl-cvs
- psvnã¯pcl-cvsã¨ã»ã¼ä½¿ãæ¹ãåããããªã®ã§ããããåèã«ãªãã