æ¢åã®SVNãªãã¸ããªã使ãã¤ã¤ããã¼ã«ã«ã§ã¯Gitã®å©ä¾¿æ§ã享åããããã«ã git-svnã使ãæ¹æ³ã®ã¡ã¢ã§ãã以ä¸ã¯openid-fuã®ãªãã¸ããªã使ã£ãä¾ã§ãã ã¾ãã¯æ®éã«SVNãªãã¸ããªã«ãã¡ã¤ã«ãimportãã¦ããã¾ããæ¢åã®ãã®ãããå ´åã¯ããã使ãã¾ãã git-svnã§ãªãã¸ããªãcloneãã¾ãã
ï¼¼ééäºå®ã®ãµã¤ãã売ããããï¼ï¼ ã¢ã¯ã»ã¹ããªããµã¤ããã³ã³ãã³ã価å¤ã§å£²ããå ´åã⦠ãã¡ã¤ã³ã®æå¹æéãæ´æ°ãã¦ãµã¤ã売å´ã«ãã©ã¤ãã¦ã¿ã¾ããã
subversionã§ããã§ãã¯ã¢ã¦ãããç¹å®ã®ãã¡ã¤ã«ãç·¨éããã¨ãã«commit対象ããå¤ãããã¨æã£ãã®ã§ãããsvn:ignoreããããã£ã§ã¯ãã¾ãããã¾ããããããã試ããçµæãsvn:ignoreã¯ããããç¨éã§ä½¿ç¨ãããã®ã§ã¯ãªãããã§ããsvn:ignoreãã©ãããåä½ãããã®ããã¡ã¢ãã¦ããã¾ãã ç°å¢ OS: Linux (Debian/sarge) Kernel: linux-2.6.16 subversion: 1.3.1 Subversion ã«ãããã¼ã¸ã§ã³ç®¡ç svn:ignore å±æ§ã¯ãã種ã®Subversionæä½ãç¡è¦ãã ãã¡ã¤ã«ãã¿ã¼ã³ã®ãªã¹ããå«ãã§ãã¾ããå¤åãã£ã¨ãããå©ç¨ããã ç¹æ®å±æ§ã§ãglobal-ignores å®è¡æè¨å®ãªãã·ã§ã³ã¨ ã¨ãã«å©ç¨ããã¾ãã (configã®é åç §)ã ããã使ã£ã¦ããã¼ã¸ã§ã³åããã¦ããªããã¡ã¤
ã¡ãã£ã¨åãã http://sourceforge.net(以ä¸sf.net)ã§ã¯CVSã ãã§ãªã Subversion ãæä¾ãã¦ãããããã«ãªãã¾ããã ããã使ããªãæã¯ãªãã®ã§ Mona ã移è¡ããã¨ãã®æé ãå ¬éãã¦ããã¾ãã ã¢ã«ã¦ã³ãã¨ããã¸ã§ã¯ãã®ç»é² èªåã®ã¢ã«ã¦ã³ããä½ã ããã¸ã§ã¯ããç³è«ããã(è±èªã§ç³è«æãæ¸ãå¿ è¦ãããã¾ã) 審æ»ã®çµæãOKã§ããã°å®äº SSH åºæ¬ã¯ç»é²ãã ã¦ã¼ã¶ã¼åã»ãã¹ã¯ã¼ãã§ã®ã¢ã¯ã»ã¹ã ssh [email protected].netãã¹ã¯ã¼ããèãããã®ã§ãã¹ã¯ã¼ããå ¥åã èªåã®å ¬ééµãæã£ã¦ããå ´åã ãã¼ã«ã«ã® id_dsa.pubã®ä¸èº«ã shell.sourceforge.jp ã«ãã°ã¤ã³å¾ .ssh/authorized_keysã«æ¸ãè¾¼ãã ssh [email protected]
ä½æ¥ã³ãã¼ã§ãã¡ã¤ã«ã®è¿½å ããããã¨ããããã³ããããããã¨ãããããåã«å¤±æãããã¨ãããããããã¦ãã®å ´åã¯ä½æ¥ã³ãã¼ã®ç¶æ ãä¸æ´åã«ãªã£ã¦ããããã¨ãã°ããã¡ã¤ã«ã追å ãããã¨ããå¾ã§ãã³ãããããåã«ãã£ã¬ã¯ããªåãå¤æ´ãã¦ãã¾ã£ããããã¨ãç¶æ ããããã¥ãããªãã®ã§è¦æ³¨æã ã¨ã©ã¼ã¡ãã»ã¼ã¸ãè¯ãè¦ã¦ãã¨ã©ã¼ã«ãªããã¹ã確èªããä½æ¥ã³ãã¼ã®å½è©²ãã¹ãã©ããªã£ã¦ããã®ãã確èªããã°ãç¶æ ã¯ãããã¯ããªã®ã§ããããã対å¦ããã°è¯ãã åºæ¬çã«ã¯ã¨ã©ã¼ã¡ãã»ã¼ã¸ã«ã©ãã«åé¡ç¹ãããã®ããæ¸ãã¦ããã®ã§ãã¡ããã¨ç解ããã°è§£æ±ºã§ããã¯ããè¯ãããäºä¾ã¨ãã¦ã¯â¦ æ¢ã«ã³ãããããã¦ãããã¡ã¤ã«ã追å ãããã¨ãã¦ãã æ¢ã«ãªãã¸ããªã«ã³ãããããã¦ãããã¡ã¤ã«ã追å ãããã¨ããã¨ãæ¢ã«åå¨ãã¾ããã¨ãã£ããããªã¨ã©ã¼ãã§ãããã®å ´åã¯ãã¨ã©ã¼ã«ãªããã¡ã¤ã«ãä¸æ¦ãå ã«æ»ã(revert)ãã
Subversionã§ã®ãã©ã³ãã¯åç¬ã§ç·¨éã§ãã"åãªã"æ¢åã®ãã£ã¬ã¯ããªããªã¼ã®ã³ãã¼ã§ãããã®ãã¨ã«ãã£ã¦CVSããæè»æ§ãæã¤ä¸æ¹ã§æ£ããã½ã¼ãããããã«ã¯æã«å°ãè¨ç·´ããªããã°ãªãã¾ããã ååæã®ãªãªã¼ã¹ã®ããã«ãbrachãã£ã¬ã¯ããªãä½æãã¦ç¾å¨ã®trunkããé¢ãã¦MediaWikiã®"phase3"ãã£ã¬ã¯ããªãã³ãã¼ãã¾ã: svn mkdir svn+ssh://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_8 svn copy \ svn+ssh://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 \ svn+ssh://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_8/phase3 svn copy \
Subversion ã§ã¯ããªãªã¼ã¹çã®ä¿å®ç¨ãã¨ã次æãªãªã¼ã¹ç¨éçºçãã®ãããªï¼ã¤ã®ããã¸ã§ã¯ãããæ´¾çããããã¸ã§ã¯ããç¬ç«ãã¦ç®¡çã§ãã¾ã(é常ãsvn copy 㧠branchesã¸ã³ãã¼ãæ´¾çããã¸ã§ã¯ããä½ã)ã ã¨ããããçæ¹ã®ããã¸ã§ã¯ãã§ã®ä¿®æ£ãä»æ¹ã®ããã¸ã§ã¯ãã«åãè¾¼ã¿ããäºãããã¾ãããã®ãããªå ´åã¯ãã¼ã¸(svn merge) ã使ãã¾ãã % cd ãã©ã³ãã®moduleBãã¤ã¬ã¯ããªã¼ % svn merge -r 1011:1014 svn://server/ProjectA/trunk/moduleBä¸ã®ä¾ã§ã¯trunkã®ãªãã¸ã§ã³1011ã1014ã§è¡ãããå¤æ´ããã©ã³ãã®æ¹ã¸ãã¼ã¸(åãè¾¼ã¾ã)ããã¾ãã ãã ãããã©ã³ãã®æ¹ã§ãå¤æ´ãã¦ããå ´å競åãçºçããããããã¾ãããäºã競åãç¥ãããå ´åã¯ã-dry-run ãªãã·ã§ã³ãä»ããäºã§ç¢ºèªã§ã
This assumes that you have already created a subversion repository, and you are just wondering how to setup your rails project. If you have WEBrick or lighttpd running after running âscript/serverâ in your rails directory, shutdown the server. Import your rails application. navigate to the root of your rails app. svn import . repository_url -m "Import" --username user Change to the directory conta
Momonga Projectã§ã¯éçºã« Subversionã使ã£ã¦ãã¾ãï¼ ä»¥ä¸ã¯ä¸è¬ç㪠Subversionã®ä½¿ãæ¹ã§ã¯ãªãï¼Momonga Linux éçºã«ããã svnã¬ãã¸ããªã®æä½æ¹æ³ã«ç¹åããå 容ã«ãªã£ã¦ãã¾ãï¼ ä¸»ã«ï¼Momongaã¡ã³ãã¼åã³éçºçã使ããã人 åãã®æ å ±ãè¨è¿°ãã¾ãï¼ ã¬ãã¸ããªããã©ã¦ã¶ã§è¦ãã人ã¯ä»¥ä¸ã®URLããå©ç¨ãã ãã http://svn.momonga-linux.org/svn/pkgs/trunk/ http://developer.momonga-linux.org/viewvc/ 以å¾ï¼ä¸è¨ã® shell å¤æ°ãå®ç¾©ããã¦ãããã®ã¨ãã¦è©±ãé²ãã¾ãï¼å²ã¨é »ç¹ã«URL ãæã¤äºãããã®ã§çããã®å¤æ°ãå®ç¾©ãã¦ãããã¨ããå§ããã¾ã. repo='http://svn.momonga-linux.org/svn/pkgs' åèU
Subversion ã使ãããã«ãªã£ã¦æ°å¹´ãçµã¡ã¾ãããæè¿ svn diff/status/log/merge ãªã©ã®ã³ãã³ãã«çéãã¦ããã æ°è»½ã« ãã©ã³ããä½ã ãã¼ã¸ãã ã³ã¼ããå ã®ãã¼ã¸ã§ã³ã«æ»ã åé¡ã¨ãªãã³ã¼ãã diff ã§èª¿ã¹ã ãªã©ãã§ããããã«ãªã£ã¦ãä½æ¥å¹çãä¸ãã£ããããã¾ãã«ã³ããããããã¦ããã°ããã¨ããã©ãã«ã§ããªãã®ã§ç²¾ç¥çã«ãããªã楽ã«ãªã£ãã ãã®ãæ°è»½ã«ãã£ã¦ã®ãã¨ã¦ãéè¦ã 以åã ã£ã¦ããã¼ã¸ã®æ¦å¿µããã¤ã§ã好ããªãã¼ã¸ã§ã³ã«æ»ãããã¨ãdiff ã表示ãããã¨ãåºæ¥ãã®ã¯ç¥ã£ã¦ãããããã¾ã«ä½¿ã£ã¦ããããããã ãã 使ãå ´å㯠ã³ãã³ããWebã§èª¿ã¹ã ãããããã試ãã¦ã¿ã 失æã㦠check out ããªããã§æéããã¹ ãªã©ãããã¹ãã¬ã¹ããã¾ããã¡ã§ãçµæçã«ãããæç¨ãªæ©è½ã使ãã®ãç¡æèã«é¿ãã¦ãããªã¨ãæ¯ãè¿ã£ã¦ã¿ãã¨æ°ã¥ã
ã¯ããã« repo='http://svn.momonga-linux.org/svn/pkgs' ã¨ãã shell å¤æ°ãå®ç¾©ããã¦ãããã®ã¨ãã¦è©±ãé²ãã¾ã. å²ã¨é »ç¹ã« URI ãæã¤äºãããã®ã§çããã®å¤æ°ãå®ç¾©ãã¦ãããã¨ã ãå§ããã¾ã. Q. ä»ã®svn repoã£ã¦çµå±ã©ããªã®ãï¼ A. 以ä¸ã®ããã«ãªã£ã¦ãã¾ãã(2006-08/15ç¾å¨) 詳ããã¯ãããã¸ãåç § http://developer.momonga-linux.org/viewvc/ http://developer.momonga-linux.org/viewvc/branches/ 使ãäºãå°ãªãtags以ä¸ã¯çç¥ãã¦ãã¾ãã http://svn.momonga-linux.org/svn/pkgs / ⣠trunk/ â ⣠pkgs/ æå 端ã®ããã±ã¼ã¸ãé常ã¯ãã¡ãã使ç¨ããã°okã â â
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}