Subversion
¹é¾÷ ¹× º¹±¸
ÀúÀå¼Ò´Â °¡Àå Áß¿äÇÑ °ø°£À̱⠶§¹®¿¡ ¹é¾÷Àº ÇʼöÀÔ´Ï´Ù. ÀúÀå¼Ò µð·ºÅ丮¸¦ ±×´ë·Î º¸°üÇÒ ¼öµµ ÀÖÁö¸¸ ¹é¾÷°ú º¹±¸ ¸í·ÉÀ» »ç¿ëÇϴ°ÍÀÌ Æí¸®ÇÕ´Ï´Ù.
Windows, ¸®´ª½º, BSD µî ¿î¿µÃ¼Á¦¿¡ °ü°è¾øÀÌ ¹é¾÷ ¹× º¹±¸°¡ °¡´ÉÇÕ´Ï´Ù. Windows¿¡¼ ¹é¾÷ÇÑ°ÍÀ» ¸®´ª½º¿¡¼ »ç¿ëÇÒ ¼öµµ ÀÖ°í BSD¿¡¼ ¹é¾÷ÇÑ °ÍÀ» Windows¿¡¼ »ç¿ëÇÒ ¼öµµ ÀÖ½À´Ï´Ù.
ÀúÀå¼ÒÀÇ ¼¹ö¸¦ ¿Å±æ¶§¿¡´Â ÀúÀå¼Ò µð·ºÅ丮¸¦ ¿Å±â´Â °ÍÀÌ ¾Æ´Ï¶ó ÀúÀå¼Ò ¹é¾÷À» ÇÑµÚ ±× ¹é¾÷ÆÄÀÏÀ» ÀÌ¿ëÇÏ¿© »õ ¼¹ö¿¡¼ º¹±¸¸¦ ÇÏ´Â ¹æ½ÄÀ¸·Î ¿Å°Ü¾ßÇÕ´Ï´Ù.
Dump
sample ÀúÀå¼Ò¸¦ ¹é¾÷ÇÕ´Ï´Ù. Ç¥ÁØ ÀÔÃâ·ÂÀ» ÅëÇؼ ÀúÀå¼ÒÀÇ ³»¿ëÀ» ÆÄÀÏ·Î »ý¼ºÇÕ´Ï´Ù. svnadmin dump ¸í·ÉÀ» »ç¿ëÇϸç ÀÌ ¸í·ÉÀº ÀúÀå¼Ò µð·ºÅ丮 ¹Ù±ù¿¡¼ »ç¿ëÇØ¾ß ÇÕ´Ï´Ù.
repos# ls
sample
repos# svnadmin dump sample > sample.dump
¿É¼Ç -r [--revision] arg : ¸®ºñÁ¯ ³Ñ¹ö ARG (¶Ç´Â X:Y¹üÀ§)¸¦ ÁöÁ¤ÇÕ´Ï´Ù.
--incremental : incremental ÀûÀ縦 ÇÕ´Ï´Ù.
--deltas : ÀûÀçµÈ °á°ú¹°¿¡ deltas¸¦ »ç¿ëÇÕ´Ï´Ù.
-q [--quiet] : stderr¿¡ ´ëÇÑ ÁøÇà»çÇ×ÀÌ (¿À·ù¿¡ ÇÑÇؼ)¾ø½À´Ï´Ù.
Load
ÀúÀå¼Ò ¹é¾÷ ÆÄÀÏÀ» ÀÌ¿ëÇؼ ÀúÀå¼Ò¸¦ º¹±¸ÇÕ´Ï´Ù. svnadmin load ¸í·ÉÀ» »ç¿ëÇÕ´Ï´Ù.
ºó ÀúÀå¼Ò¸¦ »ý¼ºÇÑ µÚ ¹é¾÷ ÆÄÀÏÀ» ÀÌ¿ëÇؼ º¹±¸¸¦ ÇÕ´Ï´Ù.
repos# svnadmin create sample
repos# ls
sample sample.dump
repos# svnadmin load sample < sample.dump
¿É¼Ç
-q [--quiet] : stderr¿¡ ´ëÇÑ ÁøÇà»çÇ×ÀÌ (¿À·ù¿¡ ÇÑÇؼ)¾øÀ½
--ignore-uuid : ½ºÆ®¸²¿¡ ¾î¶² repos UUID°¡ ¹ß°ßµÇ¾îµµ ¹«½ÃÇÕ´Ï´Ù.
--force-uuid : ¸¸¾à¿¡ ÀÖ´Ù¸é, repos UUID¸¦ ½ºÆ®¸²¿¡¼ ¹ß°ßµÈ °Í¿¡ ¼³Á¤ÇÔ
--use-pre-commit-hook : ¸®ºñÀüÀ» »õ·ÎÀÌ Ä¿¹ÔÇϱâÀü post-commitÈÅÀ» È£ÃâÇÔ
--use-post-commit-hook : ¸®ºñÀüÀ» »õ·ÎÀÌ Ä¿¹ÔÇÑ µÚ post-commitÈÅÀ» È£ÃâÇÔ
--parent-dir arg : ÀúÀå¼ÒÀÇ ÁöÁ¤µÈ µð·ºÅ丮¿¡ ·ÎµåÇÔ
TracÇÁ·ÎÁ§Æ® »ý¼ºtrac-admin [ÇÁ·ÎÁ§Æ®µð·ºÅ丮] initenv
¹é¾÷ trac-admin [ÇÁ·ÎÁ§Æ®µð·ºÅ丮] hotcopy ¹é¾÷µð·ºÅ丮
º¹±¸
¹é¾÷µð·ºÅ丮¸¦ ´Ù½Ã º¹»çÇÏ¸é µÈ´Ù
SVNÀúÀå¼Ò¸¦ º¯°æÇßÀ» °æ¿ìtrac-admin ÇÁ·ÎÁ§Æ®¸í resync