· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Subversion Tips

SubversionÀ» »ç¿ëÇÒ ¶§ ¾Ë¾ÆµÎ¸é À¯¿ëÇÑ ÆÁ. (Áú¹®À» ¿Ã·Áµµ µË´Ï´Ù. ´äÀÌ ´Þ¸®°Ô µÇ¸é ¿ø Áú¹®ÀÚ ¶Ç´Â ´äº¯ÀÚ°¡ Áú¹®°ú ´äº¯À» Á¤¸®ÇÏ¿© ÇϳªÀÇ ÆÁ Ç׸ñÀ¸·Î ¹Ù²Ùµµ·Ï ÇսôÙ.)




1. Ŭ¶óÀ̾ðÆ®·Î¸¸ »ç¿ëÇÒ ¶§

ÀÚ½ÅÀÇ ÄÄÇ»ÅÍ¿¡ Subversion ÀúÀå¼Ò¸¦ ¸¸µéÁö ¾Ê°í ¿ÀÁ÷ ¿ø°Ý ¼­¹ö¿¡ Á¢±ÙÇϴ Ŭ¶óÀ̾ðÆ®¸¸ ÀÖÀ¸¸é µÇ´Â °æ¿ì.


ÀÌ °æ¿ì´Â Apache ³ª BerkeleyDB µîÀ» ¼³Ä¡ÇÒ ÇÊ¿ä°¡ ¾ø´Ù. ÄÄÆÄÀϽà º°µµÀÇ ¿É¼ÇÀ» ÁÖÁö ¾Ê°í
# ./configure --without-berkeley-db
# make
# make install
·Î Ŭ¶óÀ̾ðÆ® »ç¿ëÀÌ °¡´ÉÇÏ´Ù..

make installÀº root±ÇÇÑÀÌ ÀÖ¾î¾ß °ÚÁö¸¸ make¸¸ ÇÏ¸é ½ÇÇà ÆÄÀϵéÀÌ »ý¼ºµÇ´Ï ¹Ù·Î »ç¿ë °¡´ÉÇÏ´Ù.

{{| raymundoÀÇ °æ¿ì: ¼¼ ´ëÀÇ ¸®´ª½º ½Ã½ºÅÛ Áß ÇÑ ´ë¿¡´Â ¼­¹ö·Î, ´Ù¸¥ µÎ ´ë¿¡´Â ÀÏ¹Ý À¯Àú °èÁ¤¿¡¼­ Ŭ¶óÀ̾ðÆ®·Î¸¸ »ç¿ëÇÏ°íÀÚ ¼³Ä¡¸¦ ½ÃµµÇß´Ù. root ±ÇÇÑÀ¸·Î berkeley db ¿Í subversion À» ¼³Ä¡ÇÏ´Â °ÍÀº ¼º°ø. ÀÏ¹Ý À¯Àú·Î ¼³Ä¡¸¦ ½ÃµµÇÑ µÎ ´ë Áß ÇÑ ´ë¿¡¼­´Â make ¿¡¼­ ¿¡·¯°¡ ³µÀ¸³ª, ±× ÈÄ make install (./configure ½ÇÇà½Ã prefix ¸¦ ÀÚ½ÅÀÇ È¨µð·ºÅ丮·Î ¸ÂÃã) ÇÑ ÈÄ »ç¿ëÇÏ´Ï ÀÏ´Ü ½ÇÇàÀº µÈ´Ù. (»ç¿ë¿¡ ¹®Á¦°¡ ¾ø´Ù´Â º¸ÀåÀº ¸øÇÔ) ´Ù¸¥ ÇÑ ´ë¿¡¼­´Â make ´Â ¹®Á¦¾øÀÌ ¼º°øÇÑ »óÅ¿¡¼­, ¼Ò½º µð·ºÅ丮 ¾È¿¡ »ý¼ºµÈ svn ¹ÙÀ̳ʸ®¸¸ µû·Î ¿Å°Ü¼­ »ç¿ëÀ» ÇÏ·Á°í Çß´õ´Ï libsvn_client-1.so.0 °øÀ¯ ¶óÀ̺귯¸®°¡ ¾ø´Ù¸ç ½ÇÇàÀÌ µÇÁö ¾Ê¾Ò´Ù. °á±¹ make install ·Î Ȩµð·ºÅ丮 ¾Æ·¡ ¶óÀ̺귯¸®¿Í ¸ÇÆäÀÌÁö µîÀ» ÀüºÎ ¼³Ä¡ÇØ ÁÖ°í »ç¿ëÇÏ°í ÀÖ´Ù. (¿ª½Ã ¹®Á¦°¡ ¾ø´Ù´Â º¸ÀåÀº ¸øÇÔ) |}}

{{| hunkim raymundo´Ô ÀϹÝÀ¯Àú·Î ¼³Ä¡½Ã ¹«½¼ ¿¡·¯°¡ ³ª´ÂÁö? ±Ã±ÝÇÕ´Ï´Ù.

raymundo make ÇßÀ»¶§ ¾Æ·¡¿Í °°ÀÌ µÇ¾ú½À´Ï´Ù. configure ¿¡¼­´Â º° ºÒÆòÀ» ÇÏÁö ¾Ê¾Ò´ø °Í °°Àºµ¥...
------ making all in apr
make[1]: µé¾î°¨ `/home/gypark/temp/subversion-0.34.0/apr' µð·ºÅ丮
(Áß·«)
make[1]: ³ª°¨ `/home/gypark/temp/subversion-0.34.0/apr' µð·ºÅ丮
------ completed all in apr
------ making all in apr-util
make[1]: µé¾î°¨ `/home/gypark/temp/subversion-0.34.0/apr-util' µð·ºÅ丮
(Áß·«)
make[1]: ³ª°¨ `/home/gypark/temp/subversion-0.34.0/apr-util' µð·ºÅ丮
------ completed all in apr-util
------ making all in neon
make[1]: µé¾î°¨ `/home/gypark/temp/subversion-0.34.0/neon' µð·ºÅ丮
cd src && make
make[2]: µé¾î°¨ `/home/gypark/temp/subversion-0.34.0/neon/src' µð·ºÅ丮
make[2]: Nothing to be done for `all'.
make[2]: ³ª°¨ `/home/gypark/temp/subversion-0.34.0/neon/src' µð·ºÅ丮

  Compilation complete. Run 'make install' (as root?) to install neon.

make[1]: ³ª°¨ `/home/gypark/temp/subversion-0.34.0/neon' µð·ºÅ丮
------ completed all in neon
/bin/sh /home/gypark/temp/subversion-0.34.0/libtool --silent --mode=compile gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE  -g -
O2  -g -O2 -pthread  -DNEON_ZLIB  -I/usr/local/apache2/include -I./subversion/include -I. -I/home/gypark/temp/subversion-0.34.0/neon/src -I/home/gypark/local//include/neon -
I/home/gypark/temp/subversion-0.34.0/apr/include   -I/home/gypark/temp/subversion-0.34.0/apr-util/include  -o subversion/mod_dav_svn/liveprops.lo -
c /home/gypark/temp/subversion-0.34.0/subversion/mod_dav_svn/liveprops.c
/home/gypark/temp/subversion-0.34.0/subversion/mod_dav_svn/liveprops.c: In function `dav_svn_insert_prop':
/home/gypark/temp/subversion-0.34.0/subversion/mod_dav_svn/liveprops.c:260: error: parse error before "APR_UINT64_T_FMT"
/home/gypark/temp/subversion-0.34.0/subversion/mod_dav_svn/liveprops.c:458: error: `APR_MD5_DIGESTSIZE' undeclared (first use in this function)
/home/gypark/temp/subversion-0.34.0/subversion/mod_dav_svn/liveprops.c:458: error: (Each undeclared identifier is reported only once
/home/gypark/temp/subversion-0.34.0/subversion/mod_dav_svn/liveprops.c:458: error: for each function it appears in.)
make: *** [subversion/mod_dav_svn/liveprops.lo] ¿À·ù 1


|}}

2. Subversion°ú CVSÀÇ ÀúÀå¼Ò

(DeleteMe ¹æÁØ¿µ´ÔÀÇ ´äº¯À» ¹ÙÅÁÀ¸·Î Á¤¸®Çß½À´Ï´Ù. À߸øµÈ ºÎºÐÀÌ ÀÖÀ¸¸é ÁöÀûÀ̳ª Á÷Á¢ ¼öÁ¤ ¹Ù¶ø´Ï´Ù. À߸øµÈ ºÎºÐÀÌ ¾ø´Â °Ô È®½ÇÇÏ´Ù¸é ÀÌ ÁÙÀ» Áö¿öÁÖ¼¼¿ä~)

CVS¿¡¼­´Â ÀúÀå¼ÒÀÇ root °¡ ÀÖ°í (¿¹: /home/CVS) import ¸¦ Çϸé ƯÁ¤ÇÑ ÇÁ·ÎÁ§Æ®(¿¹: "sample")ÀÇ µð·ºÅ丮 (¿¹: /home/CVS/sample) °¡ »ý¼ºÀÌ µÇ¾ú½À´Ï´Ù. checkout À» ÇÒ ¶§µµ ÀúÀå¼ÒÀÇ root ¿Í ÇÁ·ÎÁ§Æ® À̸§À» ÀÎÀÚ·Î ÁÖ¸é µÇ¾ú½À´Ï´Ù. ÀúÀå¼Ò¿¡ °üÇÑ °¢Á¾ ¼³Á¤Àº ÀúÀå¼Ò root ¾Æ·¡ CVSROOT µð·ºÅ丮 ¾Æ·¡ ÀúÀåµÇ¾ú½À´Ï´Ù. µû¶ó¼­ ÀúÀå¼Ò ³»ÀÇ ¸ðµç ÇÁ·ÎÁ§Æ®¿¡ µ¿ÀÏÇÏ°Ô Àû¿ëµÇ¾ú½À´Ï´Ù.
ÀúÀå¼Ò root ¸¸µé±â
# cvs -d /home/CVS init
  (root°¡ /home/CVS ¸¦ »ý¼ºÇÔ. /home/CVS/CVSROOT µð·ºÅ丮°¡ ÀÚµ¿À¸·Î »ý¼ºµÊ)

ÇÁ·ÎÁ§Æ® ÀúÀå°ø°£ ¸¸µé±â
$ export CVSROOT=/home/CVS
$ cvs import sample vendor release
  (/home/CVS/sample µð·ºÅ丮°¡ »ý¼ºµÇ°í, ÇöÀç µð·ºÅ丮ÀÇ ³»¿ëÀÌ ÀúÀå¼Ò¿¡ º¸°üµÊ)

ÇÁ·ÎÁ§Æ® ÀÛ¾÷ °ø°£ ¸¸µé±â
$ cvs checkout sample
  (ÇöÀç µð·ºÅ丮¿¡ sample µð·ºÅ丮¸¦ ¸¸µé°í ÀúÀå¼ÒÀÇ ³»¿ëÀ» °¡Á®¿È)
±×·±µ¥ À§¿Í °°ÀÌ ÇßÀ» ¶§, ¿©·¯ °³ÀÇ ÇÁ·ÎÁ§Æ® µð·ºÅ丮µéÀÌ ÇϳªÀÇ ÄÜÆ®·Ñ µð·ºÅ丮 (/home/CVS/CVSROOT) ÀÇ Àû¿ëÀ» ¹Þ±â ¶§¹®¿¡ ¿©·¯ °¡Áö ¹®Á¦Á¡ÀÌ ¹ß»ýÇÒ ¼ö ÀÖ½À´Ï´Ù. µû¶ó¼­ ¿ÏÀüÈ÷ º°°³ÀÇ ÇÁ·ÎÁ§Æ®µéÀº ¾Æ¿¹ ÀúÀå¼ÒROOT ÀÚü¸¦ µû·Î ¸¸µé¾î¼­ »ç¿ëÇÑ´Ù°í ÇÕ´Ï´Ù. Áï cvs init À» °¢°¢ÀÇ ÇÁ·ÎÁ§Æ® µð·ºÅ丮¸¶´Ù µû·Î ÇØ ÁÖ´Â °Ì´Ï´Ù.


Subversion¿¡¼­´Â ÀúÀå¼ÒÀÇ root °¡ ÀÖ°í, ±× ¾Æ·¡ ÇÁ·ÎÁ§Æ®ÀÇ µð·ºÅ丮°¡ ÀÖ°í, ´Ù½Ã ±× ¾Æ·¡ trunk, branch, tags µð·ºÅ丮°¡ ÀÖ½À´Ï´Ù. (±×³ª¸¶µµ OS ÀÇ È­ÀϽýºÅÛ¿¡¼­ º¸ÀÌ´Â µð·ºÅ丮°¡ ¾Æ´Ï¶ó DB ¿¡¼­ °³³äÀûÀ¸·Î ÀνÄÇÕ´Ï´Ù. ±×³É ls ¸í·ÉÀ¸·Î´Â º¸ÀÌÁö ¾Ê´Â±º¿ä)
ÀúÀå¼Ò root ¸¸µé±â
# mkdir /home/SVN/
  (root °¡ /home/SVN À» »ý¼ºÇÔ. ±×Àú ´Ü¼øÇÑ mkdir)
# chmod 1777 /home/SVN
  (ÀÏ¹Ý À¯Àú°¡ ÇÁ·ÎÁ§Æ®¸¦ import Çϱâ À§Çؼ­´Â write Æ۹̼ÇÀ» ÁÖ¾î¾ß ÇÔ. Æ۹̼ÇÀÌ ¾øÀ¸¸é ¾Æ·¡ÀÇ ¸í·ÉÀÌ ½ÇÇà ºÒ°¡)

ÇÁ·ÎÁ§Æ® ÀúÀå°ø°£ ¸¸µé±â
$ svnadmin create sample
  (/home/SVN/sample µð·ºÅ丮¿Í ±× ¾Æ·¡ ¿©·¯ ÄÜÆ®·Ñ Á¤º¸°¡ µé¾îÀÖ´Â µð·ºÅ丮µéÀÌ »ý¼ºµÊ)
$ svn mkdir file:///home/SVN/sample/trunk
$ svn import testwiki file:///home/SVN/sample/trunk
  (/home/SVN/sample ¾Æ·¡ µ¥ÀÌŸº£À̽º¿¡ trunk µð·ºÅ丮°¡ »ý¼ºµÊ - ls ¸í·ÉÀ¸·Î º¸ÀÌ´Â °ÍÀÌ ¾Æ´Ô)

ÇÁ·ÎÁ§Æ® ÀÛ¾÷°ø°£ ¸¸µé±â
$ svn checkout file:///home/SVN/sample/trunk sample
  (ÇöÀç µð·ºÅ丮¿¡ sample µð·ºÅ丮¸¦ ¸¸µé°í ÀúÀå¼ÒÀÇ ³»¿ëÀ» °¡Á®¿È)
ÇÁ·ÎÁ§Æ®¸¶´Ù º°µµ·Î svnadmin create¸¦ Çϱ⠶§¹®¿¡ ÄÜÆ®·Ñ Á¤º¸µµ º°µµ·Î À¯ÁöµË´Ï´Ù. (/home/SVN/ µð·ºÅ丮 ÀÚü¿¡´Â ÄÜÆ®·ÑÀ» À§ÇÑ º°µµÀÇ È­ÀÏÀÌ »ý¼ºµÇÁö ¾Ê½À´Ï´Ù)


3. svn+ssh:// ÇÁ·ÎÅäÄÝ¿¡¼­ ¸Å¹ø ¾ÏÈ£¸¦ ³Ö´Â °Ô ±ÍÂú½À´Ï´Ù


¼­¹öÀÇ ~/.ssh µð·ºÅ丮¿¡ °ø°³Å° ÆÄÀÏ(id_rsa.pub ¶Ç´Â identity.pub)À» authorized_keys¶õ À̸§À¸·Î º¹»çÇØ µÎ¸é µË´Ï´Ù. --¹æÁØ¿µ

´ÙÀ½°ú °°Àº »óȲÀ» °¡Á¤ÇÏÀÚ.

  • ¼­¹ö : 192.168.0.1, °èÁ¤ hong
  • Ŭ¶óÀ̾ðÆ® : 192.168.0.5, °èÁ¤ gildong

Ŭ¶óÀ̾ðÆ® ÂÊ¿¡¼­
gildong$ ssh-keygen -t rsa1
Generating public/private rsa1 key pair.
Enter file in which to save the key (/home/gildong/.ssh/identity):  <-- ±×³É ¿£ÅÍ
Enter passphrase (empty for no passphrase):                          <-- ±×³É ¿£ÅÍ
Enter same passphrase again:                                         <-- ±×³É ¿£ÅÍ
Your identification has been saved in /home/gildong/.ssh/identity.
Your public key has been saved in /home/gildong/.ssh/identity.pub.
The key fingerprint is:
85:6e:e6:fa:53:bc:10:ad:57:98:04:c5:37:1c:40:1a gildong@192.168.0.1
ÀÌ·¯¸é ~gildong/.ssh/identity.pub È­ÀÏÀÌ »ý±ä´Ù. ÀÌ°ÍÀ» ¼­¹öÀÇ ~hong/.ssh/authorized_keys È­ÀÏ¿¡ append ÇØ ÁØ´Ù.

¶Ç, Ŭ¶óÀ̾ðÆ® ÂÊ¿¡¼­ ~gildong/.ssh/config È­ÀÏ¿¡
Host 192.168.0.1
Protocol 1
À» Ãß°¡ÇØ ÁØ´Ù.

ÀÌ°ÍÀº svn »Ó ¾Æ´Ï¶ó ssh ¸¦ »ç¿ëÇÏ´Â ¸ðµç °æ¿ì¿¡ Àû¿ëµÈ´Ù. °£´ÜÇÏ°Ô´Â ssh hong@192.168.0.1 À» ÇÏ¿© ¾ÏÈ£ ¾øÀÌ ·Î±×ÀÎ µÇ´ÂÁö¸¦ È®ÀÎÇÏ¸é µÈ´Ù.

¸¸ÀÏ ´ÙÀ½°ú °°Àº ¿¡·¯°¡ ³­´Ù¸é
Bad owner or permissions on ~gildong/.ssh/config
ÀÌ°ÍÀº »ý¼ºµÈ ~gildong/.ssh/config ±ÇÇÑÀ» ´ÙÀ½°ú °°ÀÌ ¼öÁ¤ÇÏ¿© ÁÖ¸é µÈ´Ù
gildong$ chmod 600 ~gildong/.ssh/config

¸¸ÀÏ ´ÙÀ½°ú °°Àº ¿¡·¯°¡ ³­´Ù¸é
$ ssh hong@192.168.0.1
Protocol major versions differ: 1 vs. 2
ÀÌ°ÍÀº ¼­¹ö ÂÊ¿¡¼­ SSH Protocol version 1 À» Áö¿øÇÏÁö ¾Ê´Â °æ¿ìÀÌ´Ù. ÀÌ ¶§´Â ¼­¹ö ÂÊ¿¡¼­ º°µµÀÇ ¼¼ÆÃÀ» ÇØ ÁÖ¾î¾ß ÇÑ´Ù. ¸ÕÀú ¼­¹öÀÇ /etc/ssh/sshd_config ¸¦ ´ÙÀ½°ú °°ÀÌ ¼öÁ¤ÇÑ´Ù.
...
Protocol 2,1           <-- "2" ¸¦ "2,1"·Î º¯°æ
...
HostKey /etc/ssh/ssh_host_key    <-- ÀÌ ÁÙÀÌ ¾ø´Ù¸é Ãß°¡
...
/etc/ssh/ssh_host_key È­ÀÏÀÌ Á¸ÀçÇÏ´ÂÁö È®ÀÎÇÏ°í, ¾ø´Ù¸é Ŭ¶óÀ̾ðÆ®¿¡¼­¿Í ¸¶Âù°¡Áö·Î ¼­¹öÀÇ È£½ºÆ® Å°¸¦ »ý¼ºÇÑ´Ù.
# ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key
ÀÌÁ¦ sshd ¸¦ Àç½ÃÀÛÇÑ´Ù.
# /etc/init.d/ssh restart
Restarting OpenBSD Secure Shell server: sshd.


4. ÀúÀå¼Ò Backup/Export/Import

Subversion Àº °ü¸®ÀÚÅø, svnadminÀ» ÅëÇØ ÀúÀå¼Ò dump¿Í load¸¦ Áö¿øÇÕ´Ï´Ù. ¸¶Ä¡ µ¥ÀÌŸº£À̽º¿¡¼­ Å×À̺í°ú µ¥ÀÌŸµéÀ» DumpÇÏ´Â°Í Ã³·³, ÀúÀå¼Ò ÀڷḦ dumpÇؼ­ ¹é¾÷À» ¹Þ°Å³ª ´Ù¸¥ ÀúÀå¼Ò·Î ¿Å±æ ¼ö ÀÖ½À´Ï´Ù.

  • svnadmin dump repository-location > dump.file:
ucsc$ svnadmin dump java > java.dump
* Dumped revision 0.
* Dumped revision 1.
* Dumped revision 2.
* Dumped revision 3.

ucsc$ cat java.dump

SVN-fs-dump-format-version: 2

UUID: de97bdac-b8cd-0310-9476-eec04c096339

Revision-number: 0
Prop-content-length: 56
Content-length: 56
...
...

Dump ÆÄÀÏÀ» loadÇϱâ À§Çؼ­´Â svnadmin load ¸í·ÉÀ» »ç¿ëÇÏ¸é µË´Ï´Ù. À̶§ loadÇÒ ÆÄÀÏÀ» Ç¥ÁØÀÔ·Â(stdin)¿¡¼­ ¹Þ±â¶§¹®¿¡ ´ÙÀÌ·º¼ÇÀ» ÀÌ¿ëÇÏ´Â°Ô ÁÁ½À´Ï´Ù.

  • svnadmin load repository-location < file-to-load :

ucsc$ svnadmin load sung < java.dump 

<<< Started new transaction, based on original revision 1
     * adding path : trunk ... done.

------- Committed revision 1 >>>

<<< Started new transaction, based on original revision 2
     * adding path : trunk/aa.c ... done.

------- Committed revision 2 >>>

<<< Started new transaction, based on original revision 3
     * editing path : trunk/aa.c ... done.

------- Committed revision 3 >>>


¹é¾÷Àº dumpÆÄÀÏÀ» Àß º¸°üÇÏ¸é µÇ°ÚÁÒ?

4.1. SubversionÀÌ ¹öÀü¾÷ Çϸ鼭 ÀúÀå¼ÒÀÇ DB Scheme°¡ ¹Ù²î´Â °æ¿ì

http://subversion.tigris.org/project_status.html ¿¡ »ìÆì º¸½Ã¸é ¸±¸®ÁîµÈ ¹öÀüµé Áß¿¡¼­ »¡°£»öÀ¸·Î Ç¥½ÃµÈ °ÍµéÀÌ ÀÖ½À´Ï´Ù. À̰͵éÀº ¹öÀü¾÷À» Çϸ鼭 DBÀÇ scheme°¡ ¹Ù²î¾î ±×ÀüÀÇ ÀúÀå¼Ò¸¦ ±×´ë·Î »ç¿ëÇÒ ¼ö ¾ø´Â °æ¿ì ÀÔ´Ï´Ù. ÀÌ·±°æ¿ì ÀúÀå¼Ò dump¿Í load·Î ¹é¾÷ÇÑ µÚ¿¡ º¹±¸ÇØÁÖ¾î¾ß ÇÕ´Ï´Ù.

SubversionÀ» ¾÷±×·¹À̵å Çϱâ Àü¿¡ ¹Ýµå½Ã ÀúÀå¼Ò¸¦ tar °°Àº µµ±¸·Î ¾ÐÃàÇÑ µÚ¿¡ ¹é¾÷ ÇÕ´Ï´Ù.

°¢°¢ÀÇ ÀúÀå¼Ò¸¦ svnadmin dump¸¦ ÀÌ¿ëÇؼ­(À§ÀÇ ¿¹Á¦ ÂüÁ¶) dump ÇÕ´Ï´Ù. ¹Ýµå½Ã ¾÷±×·¹À̵å ÀüÀÇ ¹öÀüÀ¸·Î dump ÇÕ´Ï´Ù.

SubversionÀ» ÄÄÆÄÀÏ Çؼ­ ¾÷±×·¹À̵å ÇÑ µÚ¿¡ »õ ¹öÀüÀÇ svnadminÀ¸·Î svnadmin load·Î dumpÆÄÀÏ¿¡¼­ ÀúÀå¼Ò¸¦ º¹±¸ ÇÕ´Ï´Ù.

2003³â 12¿ù 3ÀÏ¿¡ ¸±¸®ÁîµÈ 0.34.0¹öÀüÀ¸·Î ¾÷±×·¹À̵å ÇÒ °æ¿ì ÀúÀå¼Ò¸¦ ¾÷±×·¹À̵å ÇØ ÁÖ¾î¾ß ÇÕ´Ï´Ù.

óÀ½ºÎÅÍ 0.34.0 ¹öÀüÀ» »ç¿ëÇÒ °æ¿ì ÀúÀå¼Ò ¾÷±×·¹À̵å´Â ÇÏÁö ¾Ê¾Æµµ µË´Ï´Ù.

SubversionÀÇ ¼Ò½º µð·ºÅ丮 ¾ÈÀÇ notes/repos_upgrade_HOWTO¿¡ ³ª¿Í ÀÖ½À´Ï´Ù.



5. ¹ÙÀ̳ʸ® ÆÄÀÏ °ü¸®

Subversion¿¡¼­´Â ¼Ò½ºÄÚµå(ÅؽºÆ®)»Ó¸¸ ¾Æ´Ï°í ¹ÙÀ̳ʸ® ÆÄÀϵµ °ü¸®°¡ °¡´É ÇÕ´Ï´Ù.

ÄÄÆÄÀÏµÈ ½ÇÇàÆÄÀÏÀ» °ü¸®ÇÒ ¶§µµ ¸Å¿ì À¯¿ëÇÕ´Ï´Ù.

¿¹·Î HWP, PDF, MS Word ÆÄÀÏ °°Àº °ÍÀ» ³Ö¾î ³õ°í ¹®¼­°¡ ¼öÁ¤ µÉ ¶§¸¶´Ù CommitÀ» ÇÕ´Ï´Ù.

±×¸®°í ¿¹Àü ¹öÀüÀÇ ¹®¼­°¡ ÇÊ¿äÇÒ¶§´Â ±× revisionÀ» Checkout, Export¸¦ ÇÏ¸é µË´Ï´Ù.

°¢°¢ÀÇ revisionÀÇ ±×¶§ ±×»óȲÀÇ ÆÄÀÏÀ» ¹Ù·Î °¡Á® ¿Ã ¼ö ÀÖ½À´Ï´Ù.

ƯÈ÷ À߸ø ¼öÁ¤Çؼ­ µ¤¾î¾²±â Çعö¸° ÆÄÀÏÀ» º¹±¸ÇϱⰡ ¸Å¿ì ½±½À´Ï´Ù.

¹°·Ð ¹ÙÀ̳ʸ® ÆÄÀÏÀÌ´Ï Diff·Î ºñ±³ÇÏ´Â °ÍÀº Àǹ̰¡ ¾ø°ÚÁÒ.


6. GUI Ŭ¶óÀ̾ðÆ® Ãßõ

Q. DocbookSgml/Subversion-HOWTO¿¡´Â TortoiseSVN °ú RapidSVN ÀÌ Àִµ¥, ¾î´À °Ô ´õ ÁÁ´Ù°í »ý°¢Çϼ¼¿ä? ÀüÀÚ´Â À©µµ¿ì Ž»ö±â¿¡ ÅëÇÕµÈ ÀÎÅÍÆäÀ̽º°¡ ¸¾¿¡ µé°í, ÈÄÀÚ´Â ¸®´ª½º¿Í À©µµ¿ì µÑ ´Ù¿¡¼­ ¾µ ¼ö ÀÖ´Â Á¡ÀÌ ±¦ÂúÀº °Í °°±ä Çѵ¥... (ºñ±³¶õ °Ô ¹«ÀǹÌÇÒ Áö ¸ð¸£Áö¸¸, ÀÌ¿ÕÀÌ¸é ¾Õ¼­°¡´Â(?) »ç¶÷µéÀ» µû¶óÇÏ´Â°Ô ÆíÇÒ °Í °°¾Æ¼­.. ^^) --raymundo

A. À©µµ¿ì ÇÁ·Î±×·¡¹ÖÀ» ¸¹ÀÌ ÇϽŴٸé TortoiseSVNÀÌ ¹«Áö Æí¸®ÇÕ´Ï´Ù. Àú°°Àº °æ¿ì´Â ¿äÁò °ÅÀÇ TortoiseSVNÀ» »ç¿ëÇÏ°í ÀÖ½À´Ï´Ù. TortoiseSVNÀÌ ÁÁÀºÁ¡Àº SubversionÀ» ¼³Ä¡ ÇÏÁö ¾Ê¾Æµµ È¥ÀÚ ·ÎÄÿ¡¼­ »ç¿ëÇÑ´Ù¸é ¹Ù·Î ÀúÀå¼Ò¸¦ ¸¸µé¾îÁÝ´Ï´Ù. ¸®´ª½º¿¡¼­ ÇÁ·Î±×·¡¹ÖÀ» ÇÒ ¶§´Â ±×³É SubversionÀÇ ±âº» Ŭ¶óÀ̾ðÆ®ÀÎ svnÀ» »ç¿ë ÇÏ°í ÀÖ½À´Ï´Ù. RapidSVNÀº ¾ÆÁ÷ »ç¿ëÇØ º¸Áö ¾Ê¾Æ¼­ Àß ¸ð¸£°Ú±º¿ä. (Àú´Â XÀ©µµ¸¦ Àß ¾²Áö ¾Ê¾Æ¼­..)--pyrasis

7. GUI Ŭ¶óÀ̾ðÆ® - TortoiseSVN

7.1. diff Ãâ·Â


º°µµÀÇ ¼¼ÆÃÀ» ÇÏÁö ¾ÊÀº »óÅ¿¡¼­´Â ¸Å¹ø diff ¸¦ ½ÇÇàÇÏ¸é ¿ÜÀå diff ÇÁ·Î±×·¥ÀÇ °æ·Î¸¦ ¹¯´Â´Ù. ÀÌ ¶§ Ãë¼Ò¸¦ ÇÏ¸é ±âº»ÀûÀ¸·Î´Â À©µµ¿ìÁîÀÇ notepad.exe °¡ ½ÇÇàµÇ¸é¼­ unified diff Ãâ·ÂÀÌ ³ª¿Â´Ù. ÀÌ ¹æ¹ýÀº, ¸Å¹ø Ãë¼Ò¸¦ ÇÑ ¹ø ÇØÁà¾ß µÇ´Â °ÍÀÌ ºÒÆíÇÏ°í (AnswerMe °æ·Î ÁöÁ¤ âÀÌ ¶ßÁö ¾Ê°Ô ÇÏ´Â ¹æ¹ýÀ» ¾Æ½Ã´Â ºÐ?) ¼Ò½º È­ÀÏÀÌ unix È­ÀÏ Æ÷¸ËÀÏ °æ¿ì´Â ÁٹٲÞÀÌ Á¦´ë·Î µÇÁö ¾Ê´Â´Ù.

setting ¿¡ µé¾î°¡¼­ Main->Diff viewer ¸¦ µû·Î ÁöÁ¤ÇØ ÁÖ¸é unified diff Ãâ·ÂÀÌ ¿©±â¼­ ÁöÁ¤ÇÑ ¿¡µðÅÍ¿¡ ³ª¿À°Ô µÈ´Ù. ViEditor µîÀ» »ç¿ëÇÏ¸é »ö»ó Áö¿øÀÌ µÇ¹Ç·Î ÆíÇÏ´Ù.

setting ¿¡¼­ Main->External diff ÁöÁ¤Çϸé ÁöÁ¤ÇÑ ÇÁ·Î±×·¥À» ½ÇÇàÇÏ¿© diff Ãâ·ÂÀ» »ý¼ºÇÑ´Ù. "ÁöÁ¤ÇÑÇÁ·Î±×·¥ ±âÁ¸È­ÀÏ ¼öÁ¤ÇÑÈ­ÀÏ" À» Ä¿¸Çµå¶óÀο¡¼­ ½ÇÇàÇÏ´Â Çü½ÄÀ¸·Î º¸ÀδÙ. µû¶ó¼­ ÇØ´ç ÇÁ·Î±×·¥ÀÌ Ä¿¸Çµå¶óÀÎ ÀÎÀÚ¸¦ ¹ÞÀ» ¼ö ÀÖ¾î¾ß ÇÑ´Ù. ±×·±µ¥ ÀÌ °æ¿ì, GNU diff °°Àº ÇÁ·Î±×·¥À» »ç¿ëÇϸé diff Ãâ·ÂÀÌ µµ½ºÃ¢¿¡ Ãâ·ÂµÇ°í Ãâ·ÂÀÌ ³¡³ªÀÚ¸¶ÀÚ Ã¢ÀÌ »ç¶óÁ® ¹ö¸°´Ù. µû¶ó¼­ GUI¸¦ Á¦°øÇÏ´Â diff ÇÁ·Î±×·¥À» ã¾Æ¾ß ÇÑ´Ù. (External diff ¿¡ GNU diff ¸¦, Diff viewer ¿¡ gvim À» ÁöÁ¤ÇØ º¸¾ÒÀ¸³ª ½ÇÆÐÇÏ¿´´Ù. diff ¿Í viewer ¸¦ È£ÃâÇÏ´Â Á¤È®ÇÑ ¹æ¹ýÀ» ¾Ë¾Æ¾ß ÇÒ µí)

External diff ·Î »ç¿ëÇÒ ¸¸ÇÑ °Í : {{| pyrasis: Àú´Â TortoiseSVN¿¡¼­ AcroEdit(www.acrosoft.pe.kr)¸¦ ¼³Ä¡ÇÏ¸é ³ª¿À´Â AcroDiff¸¦ »ç¿ëÇÕ´Ï´Ù. TortoiseSVN¿¡¼­´Â Ä¿¸Çµå¶óÀοë Diff´Â »ç¿ëÇÒ ¼ö ¾ø°í À©µµ¿ë GUI Diff´Â »ç¿ëÀÌ °¡´É ÇÕ´Ï´Ù. (Ultra Editµµ Diff°¡ µË´Ï´Ù.) |}}

{{| raymundo: À©µµ¿ìÁî¿¡¼­ ViEditor ¸¦ »ç¿ëÇÑ´Ù¸é gvim + GNU diff Á¶ÇÕÀ» Ãßõ. (»ç½ÇÀº ÇØ º» °Ô À̰͹ۿ¡ ¾øÀ½)
  • diff.exe °¡ ÀÖ´Â °æ·Î¸¦ PATH ȯ°æº¯¼ö¿¡ Ãß°¡ÇÑ´Ù.
  • vimdiff.bat ¹èÄ¡È­ÀÏÀ» ¸¸µé¾î ±× ³»¿ëÀ» gvim -d %1 %2 ¶ó ÇÑ´Ù. (gvim.exe ÀÇ Àüü °æ·Î¸¦ batch È­ÀÏ¿¡ Àû¾îÁÖ´ø°¡, gvim.exe ÀÇ °æ·Î¸¦ PATH ¿¡ Ãß°¡ÇÏ´ø°¡ ÇÑ´Ù)
  • TortoiseSVN ÀÇ External diff ¸¦ vimdiff.bat ¸¦ ¼±ÅÃÇØ ÁØ´Ù. (¿©±â¼­ ¹Ù·Î gvim.exe -d ¶ó°í ÁöÁ¤ÇØ ÁÙ ¼ö ÀÖ´Ù¸é ±»ÀÌ À§ÀÇ ¹èÄ¡È­ÀÏÀ» ¸¸µé ÇÊ¿ä°¡ ¾øÀ» ÅÙµ¥, ½ÇÁ¦ ÇØ º¸¸é Á¦´ë·Î µÇÁö ¾Ê´Â´Ù)
À§¿Í °°ÀÌ Çϸé, svn diff ¸¦ Çϸé gvim -d ±âÁ¸È­ÀÏ ÇöÀçÈ­ÀÏÀÌ ½ÇÇàµÇ°í, gvim Àº ´Ù½Ã ³»ºÎÀûÀ¸·Î diff ±âÁ¸È­ÀÏ ÇöÀçÈ­ÀÏ > diffÃâ·ÂÀ» ½ÇÇàÇÏ¿© ±× °á°ú¸¦ ´ÙÀ½ ±×¸²°ú °°ÀÌ º¸¿©ÁØ´Ù


À§ ±×¸²À» º¸¸é ¼öÁ¤, Ãß°¡, »èÁ¦µÈ ºÎºÐÀÌ ¼­·Î ´Ù¸¥ »ö»óÀ¸·Î Ç¥½ÃµÇ°í, ¾çÂÊÀÌ µ¿ÀÏÇÑ ºÎºÐÀº ViEditor ÀÇ folding ±â´É (vim 6.* ´ë ¹öÀüºÎÅÍ Áö¿ø) À» »ç¿ëÇÏ¿© Á¢Çô ÀÖ´Â °ÍÀ» º¼ ¼ö ÀÖ´Ù. ±âº» Ãâ·ÂÀÎ unified diff º¸´Ù´Â ÈξÀ º¸±â ÁÁ´Ù. |}}

7.2. ssh ÇÁ·ÎÅäÄÝ¿¡¼­ username ÁöÁ¤

Q. svn+ssh ÇÁ·ÎÅäÄÝÀ» »ç¿ëÇؼ­ checkout À» ÇÏ·Á ÇÕ´Ï´Ù. ÀúÀå¼Ò¿¡ URL À» ³Ö´Â °÷¿¡ "svn+ssh://¼­¹ö.µµ¸ÞÀÎ.³×ÀÓ/ÀúÀå¼Ò/°æ·Î/ ¸¦ ÁöÁ¤Çß´õ´Ï¸¸ "@¼­¹ö.µµ¸ÞÀÎ.³×ÀÓ"ÀÇ ¾ÏÈ£¸¦ ³ÖÀ¸¶ó°í ÇÕ´Ï´Ù. username ÀÌ ¾øÀ¸´Ï ¾Æ¹«¸® ¾ÏÈ£¸¦ ³Ö¾îµµ ¾È µË´Ï´Ù. "svn+ssh://username@¼­¹ö.µµ¸ÞÀÎ.³×ÀÓ.. °ú °°ÀÌ ÁöÁ¤ÇØ Á൵ ¾È µË´Ï´Ù. À쫆 ̣¾Æ³½ ÇØ°áÃ¥Àº settign ÀÇ Network->SSH Client ÀÇ °ªÀÎ "C:\Program Files\TortoiseSVN\TortoisePlink.exe" µÚ¿¡ "-l username" ¿É¼ÇÀ» ÁÖ´Â °ÍÀε¥, ÀÌ °æ¿ì µÑ ÀÌ»óÀÇ SVN ¼­¹ö¿¡ ¿¬°áÇؼ­ ÀÛ¾÷À» ÇÑ´Ù¸é (±×¸®°í µÎ ¼­¹ö¿¡ Á¢¼ÓÇÒ ¶§ ¾²´Â ¾ÆÀ̵𰡠¼­·Î ´Ù¸£´Ù¸é) ¸Å¹ø Àú ¼¼ÆðªÀ» ¹Ù²ã°¡¸ç »ç¿ëÇØ¾ß ÇÑ´Ù´Â °Çµ¥... µµÀúÈ÷ ¸»ÀÌ ¾È µÇ´Â °Í °°³×¿ä. °¢ ÀúÀå¼Ò¿¡ ´ëÇÑ username À» ¾î¶»°Ô µû·Î ÁöÁ¤ÇÒ ¼ö ÀÖÀ»±î¿ä? --raymundo

A. TortoiseSVN¿¡¼­´Â PuttyÀÇ ¼¼¼ÇÀ» ±×´ë·Î »ç¿ëÇÒ¼ö ÀÖ½À´Ï´Ù. Putty¿¡¼­ ¼¼¼ÇÀ» »ý¼ºÇϽðí ÀúÀå¼Ò °æ·Î¸¦ "svn+ssh://session_name/path" ¿Í °°ÀÌ ÁöÁ¤ÇØÁÖ½Ã¸é µË´Ï´Ù. -- owlet

7.3. ±âŸ

Q. TortoiseSVN ȨÆäÀÌÁö¿¡¼­ º¸´Ï ¾ÆÁ÷ Subversion 0.34 ¸¦ Áö¿øÇÏ´Â ¹öÀüÀÌ ³ª¿ÀÁö ¾Ê¾Ò³×¿ä. ±×·¯¸é 0.34 ¸¦ »ç¿ëÇÏ´Â repository ¿¡ Á¢±ÙÇÏ¸é ¾È µÇ´Â °É±î¿ä? ¸ÞÀϸµ ¸®½ºÆ®¿¡ [http]°ü·Ã ¹®´äÀÌ ÀÖ½À´Ï´Ù¸¸, ¹«½¼ ¸»ÀÎÁö ¸ð¸£°Ú½À´Ï´Ù.

A. Subversion 0.34.0Àº ÀÚü DB Scheme¸¸ ¹Ù²ï°ÍÀÌÁö Á¢±ÙÇÏ´Â ÇÁ·ÎÅäÄÝÀº ¹Ù²îÁö ¾ÊÀº°Í °°½À´Ï´Ù. Àú´Â 0.34.0À» ¼³Ä¡Çسõ°í TortoiseSVNÀº 0.22.1¸¦ »ç¿ëÇÏ°í Àִµ¥ ¾Æ¹« ¹®Á¦°¡ ¾ø½À´Ï´Ù. --pyrasis

Q. GUI Ŭ¶óÀ̾ðÆ® - TortoiseSVN ¿¡ °üÇÑ ³»¿ëÀ» TortoiseSVNÀ¸·Î ¿Å±â´Â °ÍÀÌ ¾î¶²°¡¿ä. °ü½ÉÀÌ ÀÖ´Â »ç¶÷ÀÌ ½ÇÁ¦·Î À̺κÐÀ» ã±â°¡ ¾î·Á¿îµ¥¿ä. --lotus

8. ´Ù¸¥ »ç¿ëÀÚÀÇ access Á¦¾î

Q. A ¶ó´Â À¯Àú°¡ sample À̶ó´Â ÇÁ·ÎÁ§Æ®¸¦ import Çß´Ù°í ÇÒ ¶§, B ¶ó´Â »ç¿ëÀÚ°¡ update, commit µîÀ» ÇÒ ¼ö ÀÖ°Ô Çã¿ëÇÏ°íÀÚ ÇÕ´Ï´Ù. ¿©·¯ °¡Áö »óȲÀÌ ÀÖÀ»ÅÙµ¥,
  • B ´Â svn+ssh ·Î A ÀÇ ¾ÆÀ̵ð¿Í ¾ÏÈ£¸¦ »ç¿ëÇÏ¿© commit ÇÑ´Ù - ·ÎÄÃ, ¸®¸ðÆ® µÎ °÷¿¡¼­ »ç¿ë °¡´ÉÇÏ°í º°´Ù¸¥ ¼³Á¤ÀÌ ÇÊ¿ä°¡ ¾øÀ» ÅÙµ¥, ÀÌ°ÍÀº A ¿Í B °¡ µ¿ÀÏÇÑ »ç¶÷ÀÏ ¶§ Á¤µµ³ª °¡´ÉÇÏ°ÚÁÒ. log ¿¡µµ Ç×»ó A °¡ commit ÇÑ °ÍÀ¸·Î ³ª¿À´Ï ±¸ºÐÇϱ⵵ ¾î·Æ°Ú½À´Ï´Ù.
  • A ¿Í B °¡ µ¿ÀÏ ½Ã½ºÅÛ¿¡ ÀÖ´Â ¼­·Î ´Ù¸¥ »ç¿ëÀÚÀÌ´Ù - ÀÌ ¶§ B °¡ file: ÇÁ·ÎÅäÄÝÀ» »ç¿ëÇؼ­ checkout ÇÏ´Â °ÍÀº permission denied ¿¡·¯¸¦ ³»¸é¼­ ½ÇÆÐÇϴ±º¿ä. A °¡ sample ÀÇ ÀúÀå¼Ò¿¡¼­ chmod -R o+w * À» ÇÏ¿© db ¸¦ ºñ·ÔÇÑ ¸ðµç È­ÀÏ¿¡ Àб⠱ÇÇÑÀ» ¿­¾ú´õ´Ï checkout, update, commit ÀÌ ÀüºÎ °¡´ÉÇÏ°Ô µÇ¾ú½À´Ï´Ù. ±×¸®°í (Á÷Á¢ ÇØ º¸Áö´Â ¾Ê¾ÒÀ¸³ª) ÀÌ °æ¿ì´Â B °¡ svn+ssh: ÇÁ·ÎÅäÄÝÀ» »ç¿ëÇÏ¿© ÀÚ½ÅÀÇ ¾ÆÀ̵ð·Î ·Î±×ÀÎÇÏ¿© commit ÇÏ´Â °Íµµ °¡´ÉÇÒ °ÍÀ¸·Î »ý°¢µË´Ï´Ù. ÇÏÁö¸¸ È­ÀÏÀÇ Æ۹̼ÇÀ» Á÷Á¢ º¯°æÇؼ­ ±ÇÇÑÀ» Áشٴ °ÍÀÌ ²¨¸²Ä¢ÇÏ°í, B ÀÇ °æ¿ì update ¸¸ °¡´ÉÇÏ°í commit Àº ºÒ°¡´ÉÇÏ°Ô ÇÏ°í ½ÍÀ» ¶§´Â ¾î¶»°Ô ÇØ¾ß µÉ Áö ¸ð¸£°Ú½À´Ï´Ù.
  • B ´Â svn: ÇÁ·ÎÅäÄÝÀ» »ç¿ëÇÑ´Ù - ÀÌ ¹æ¹ýÀº È­ÀÏ Æ۹̼ÇÀ» º¯°æÇÏÁö ¾Ê°í, ¿øÇÏ´Â ´ë·Î B ÀÇ ±ÇÇÑ (update ¸¸ Çã¿ëÇÒ Áö, commit µµ Çã¿ëÇÒ Áö) À» Á¶ÀýÇÒ ¼ö ÀÖ´Ù´Â ÀåÁ¡ÀÌ Àִµ¥, »ý°¢ÇÒ ¼ö ÀÖ´Â ´ÜÁ¡Àº
    • svnserve ¸¦ º°µµ·Î ¶ç¿ö¾ß ÇÑ´Ù
    • ¼­¹ö¿Í µ¿ÀÏ ¸Ó½Å¿¡ ÀÖ´õ¶óµµ file: ÇÁ·ÎÅäÄÝ ´ë½Å svn: À» ½á¾ß ÇÑ´Ù. (¾ó¸¶³ª ´õ ´À¸°Áö´Â ¸ð¸£°Ú½À´Ï´Ù¸¸)
    • ´Ù¸¥ »ç¶÷Àº Àб⸸, B ¸¦ ºñ·ÔÇÑ ÀϺΠ»ç¿ëÀÚ¿¡°Ô´Â commit ±îÁö Çã¿ëÇÏ°í ½Í´Ù¸é B ¸¦ ºñ·ÔÇÑ commiter µé¿¡ ´ëÇØ ÀÏÀÏÀÌ º°µµÀÇ ¾ÆÀ̵ð¿Í ¾ÏÈ£¸¦ ¸¸µé¾î ÁÖ¾î¾ß ÇÑ´Ù. (commiter µéÀ» À§ÇÑ Àü¿ë ¾ÆÀ̵ð/¾ÏÈ£¸¦ Çϳª¸¸ ¸¸µé ¼ö ÀÖ°ÚÁö¸¸, ÀÌ °æ¿ì ´©°¡ commit À» Çß´ÂÁö log ¿¡ ³ª¿ÀÁö ¾Ê°ÚÁÒ)
  • B ¸¦ ºñ·ÔÇÑ ÀϺλç¿ëÀÚ¿¡°Ô´Â commit Çã¿ë, ¶Ç´Ù¸¥ ÀϺÎÀÇ »ç¶÷µé¿¡°Ô´Â Àб⸸ Çã¿ë, ³ª¸ÓÁö »ç¶÷µé¿¡°Ô´Â ÀбâÁ¶Â÷ °ÅºÎÇϵµ·Ï ¼³Á¤ÇÏ·Á¸é - ¾î¶»°Ô ÇØ¾ß µÉ±î¿ä?
    • precommit hookÀ» ÀÌ¿ëÇÏ¸é µË´Ï´Ù.


9. commit ¸Þ½ÃÁö¿¡ ÇѱÛÀ» ¾µ ¼ö°¡ ¾ø³ª¿ä?

Q. svn commit À» ÇÏ¸é ¿¡µðÅÍ°¡ ¶°¼­ ¸Þ½ÃÁö¸¦ ³²±æ ¼ö ÀÖ°Ô µÇ¾î Àִµ¥, ¿©±â¿¡ Çѱ۷ΠÀÔ·ÂÇÏ°í ¿¡µðÅ͸¦ Á¾·áÇÏ¸é ´ÙÀ½°ú °°Àº ¿¡·¯°¡ ³³´Ï´Ù. {{| subversion/libsvn_client/commit.c:733: (apr_err=22) svn: Invalid argument svn: Commit failed (details follow): subversion/libsvn_subr/utf.c:170: (apr_err=22) svn: failure during string recoding subversion/clients/cmdline/util.c:357: (apr_err=22) svn: Your commit message was left in a temporary file: subversion/clients/cmdline/util.c:358: (apr_err=22) svn: '/etc/svn-commit.tmp' |}} ¿µ¹®À¸·Î¸¸ ³ÖÀ» °æ¿ì¿¡´Â Á¤»óÀûÀ¸·Î Ä¿¹ÔÀÌ µÇ¾ú½À´Ï´Ù. ¸Þ½ÃÁö¿¡ ÇѱÛÀ» Áö¿øÇÏÁö ¾Ê³ª¿ä? --raymundo

A. Àú¿ª½Ã pyrasis´ÔÀÇ ±ÛÀ» º¸°í Èï¹Ì¸¦ ´À²¸ ÀÌÁ¦ ¸· »ç¿ëÇϱ⠽ÃÀÛÇÑ »ç¿ëÀÚÀä...ÀúÀÇ °æ¿ì´Â TortoiseSVNÀ» »ç¿ëÇÏ°í Àִµ¥, Ä¿¸Çµå¶óÀÎ »ó¿¡¼­´Â Àúµµ °°Àº ¹®Á¦ÀÔ´Ï´Ù¸¸, TortoiseSVNÀ» »ç¿ëÇϴϱî, Á¦°¡ ¿Ã¸° ÇÑ±Û log±â·ÏÀÌ È­¸é¿¡ ±×´ë·Î ³ª¿À´õ±º¿ä?! ¾Æ½Ã°ÚÁö¸¸,Tortoise¿¡¼­´Â Log±â·ÏÀ» ÀÚü Á¦°øÇÏ´Â UIÀÇ texteditÀ©µµ¿ì¿¡¼­ ÇÕ´Ï´Ù. ´ÜÁ¡Àº ¼­¹öÃø¿¡¼­ svnlook log /path/to/repos/ ÇÏ¸é ¼¼»ó¿¡(-_-;) ·Î±×±â·ÏÀÌ ¾Ïȣȭ(?)µÇ¾î¼­ ³ª¿Â´Ù´Â °Ì´Ï´Ù. ÀÌ ¹®Á¦´Â ¾î¶»°Ô ÇØ°áÇÒ ¼ö ÀÖÀ»Áö ¸ð¸£°Ú½À´Ï´Ù. ¼Ò½º¸¦ ¹Þ±â´Â Çߴµ¥.. ¾ÆÁ÷ Á¦ VC¿¡¼­ ÄÄÆÄÀÏÀ» ¸øÇؼ­¿ä. -_-; Gygnusµµ ¼³Ä¡ÇÏ¿´´Âµ¥. ¾ÆÁ÷ Àͼ÷Ä¡ ¾Ê¾Æ¼­ ¼Ò½º¿¡ Çѹø ¼ÕÀ» ´ëº¸°í ½Í¾îµµ(»ç½Ç ¹®ÀÚ¿­Çü °ü·ÃµÈ ºÎºÐ¸¸ ¼Õ º¸¸é µÉÅÙµ¥. Windows XP¿¡¼­´Â %APPDATA%ȯ°æº¯¼öÀÇ °ª¿¡ ÇѱÛÀÌ µé¾î°¡ ÀÖ´Â °æ¿ì, Áï, C:\Documents and setting\¾Æ¹«°³\Application Data ÀÏÄÉ µÇ¾î ÀÖ´Â °æ¿ì¿¡´Â svn Ä¿¸Çµå¶óÀÎ ÇÁ·ÒÇÁÆ®°¡ ¾Æ¿¹ ¸ÔÁú ¾Ê´õ±º¿ä. À̰Ŷ§¸Å GUIŬ¶óÀ̾ðÆ®¸¦ ¾´´Ù´Â. -_-;.) ÀÌ°É ¾îij ÇØ°áÇÒ ¼ö ÀÖÀ»Áö ¸ð¸£°Ú½À´Ï´Ù

A. À§ Áú¹®À» ¿Ã¸®°í ¾î´À ¼ø°£, "ÀÏ¹Ý À¯Àú¿¡¼­´Â ÇÑ±Û ¸Þ½ÃÁö°¡ Àß µÇ´Âµ¥ root ¿¡¼­´Â ¾È µÇ´õ¶ó"´Â °ÍÀ» ¹ß°ßÇÏ°í´Â, ½© ȯ°æº¯¼ö LANG ¿¡ ko_KR.eucKR °ªÀ» ³ÖÀº ÈÄ ÇØ º¸´Ï Àß µÇ´Â±º¿ä. --raymundo

10. ½Éº¼¸¯ ¸µÅ©

Q. import ¸¦ ÇÏ°í ´Ù½Ã checkout À» Çؼ­ ºÃ´õ´Ï¸¸ ¿ø·¡ ÀÓÆ÷Æ®ÇÑ µð·ºÅ丮 ¾È¿¡ ÀÖ´ø ½Éº¼¸¯¸µÅ©µéÀÌ ÁË´Ù Á¤±Ô È­ÀÏ(ÀÚ½ÅÀÌ ¸µÅ©ÇÏ°í ÀÖ´ø)·Î ¹Ù²î¾ú½À´Ï´Ù. º° ¼ö ¾øÀÌ ÀÌ·± È­ÀϵéÀ» Á¦°ÅÇÏ°í ½Éº¼¸¯ ¸µÅ©¸¦ ¼öÀÛ¾÷À¸·Î ¸¸µé¾îÁá´õ´Ï svn status ¸í·ÉÀ» ÇÒ ¶§¸¶´Ù ? Ç¥½Ã°¡ ³ª¿Í¼­ ºÒÆíÇÕ´Ï´Ù. (ÀÏÀÏÀÌ ignore ½Ãų ¼öµµ ¾ø°í..) ½Éº¼¸¯ ¸µÅ©¸¦ ¸µÅ© ÀÚü·Î ÀÓÆ÷Æ®ÇÏ´Â ¹æ¹ýÀÌ ¾øÀ»±î¿ä? -- raymundo 2003-12-16 01:02:50

A. KLDP BBS ÀÇ ¹æÁØ¿µ´ÔÀÇ ´äº¯ : 1.0 ÀÌÈÄ¿¡¼­ Áö¿øÇÒ °èȹÀ̶ó ÇÕ´Ï´Ù(1.0¿¡¼­´Â ¾ÈµÊ).

11. ÆÄÀÏ Çϳª¸¸ °¡Áö°í¿À´Â ¹æ¹ýÀº ¾ø´ÂÁö¿ä?

Q. Á¦ °°Àº °æ¿ì´Â ¼Ò½º º¸´Ù´Â ¹®¼­ À§ÁÖÀÇ ¹öÀüÀ» °ü¸®ÇÏ´Â °æ¿ì°¡ ¸¹½À´Ï´Ù. ±×·¯´Ù º¸´Ï ÇÊ¿ä¿¡ µû¶ó¼­´Â ¹®¼­ Çϳª¸¸À» °¡Áö°í °¡´Â ºÐµéµµ »ý±â±âµµ ÇÏ°í ¿ÜºÎ¿¡ ³ª°¡ ÀÖÀ» °æ¿ì ÀüºÎ¸¦ °¡Áö°í ¿À±â º¸´Ù´Â ÇϳªÀÇ ÆÄÀϸ¸À» ²¨³»¿Í¾ß ÇÏ´Â °æ¿ì°¡ ¸¹ÀÌ »ý±â´Âµ¥¿ä. µð·ºÅ丮´Â °¡´ÉÇÏ´øµ¥ Ȥ½Ã ÆÄÀÏ´ÜÀ§·Î °¡Áö°í ¿Ã¼ö ÀÖ´Â ¹æ¹ýÀº ¾øÀ» ±î¿ä?

A. TortoiseSVN ¿¡¼­ Repo-Browser ¸¦ »ç¿ëÇÏ¸é ¿øÇÏ´Â ÆÄÀϸ¸ ¼±ÅÃÇؼ­ ÀúÀå ÇÒ ¼ö ÀÖ½À´Ï´Ù. svn Ä¿¸àµå ¶óÀÎ ¸í·ÉÀº Àß ¸ð¸£°Ú³×¿ä. :)

  • ÆÄÀϸ¸ Checkout ÇÒ ¼ö´Â ¾ø½À´Ï´Ù. Attempted to create entry in non-directory parent ¿¡·¯°¡ ³ª¸ç µð·ºÅ丮°¡ ÀÖ¾î¾ß .svn µîÀÇ ÄÁÆ®·Ñ ÆÄÀϵéÀ» ÀúÀåÇÒ ¼öµµ ÀÖ°ÚÁÒ? TortoiseSVNÀ¸·Î ÇϳªÀÇ ÆÄÀÏÀ» º¹»çÇÒ ¼ö ÀÖÁö¸¸ ÀÌ º¹»çµÈ ÆÄÀÏÀ» ¼öÁ¤ÈÄ ´Ù½Ã CommitÇÒ ¼ö ÀÖ´ÂÁö ±Ã±ÝÇÕ´Ï´Ù. - ±è¼ºÈÆ

    • ftp »ç¿ëÇϵí incoming µð·ºÅ丮 Çϳª ¸¸µé¾î import ÇÏ½Ã°í ¿ø·¡ ÀÛ¾÷ÇϽô °÷¿¡¼­ ÆÄÀÏÀ» ¿Å±â°í »èÁ¦ ÇϽô°ÍÀÌ... :|

  • SubVersion FAQ ¿¡ µ¿ÀÏÇÑ Áú´äÀÌ ÀÖ½À´Ï´Ù. export¸¦ ÀÌ¿ëÇØ ¹öÀü°ü¸®°¡ µÇÁö ¾Ê´Â ´ÜÀÏÆÄÀÏÀº ÃßÃâ°¡´ÉÇÏ´Ù°í Àоú½À´Ï´Ù. - ½Åµ¿È£

12. FreeBSD 5.3 À̻󿡼­ Æ÷Æ®·Î ¼³Ä¡ÇÒ °æ¿ì

svnserve ÇÒ¶§ TCP6·Î¸¸ Æ÷Æ®°¡ ¿­¸®´õ±º¿ä. ±×·¡¼­ ¾Æ·¡¿Í °°ÀÌ Çϴϱî Àß µÇ¾ú½À´Ï´Ù.
$svnserve -d -r /svn --listen-host=0.0.0.0

13. ÆÄÀÏÀÇ ´ë¼Ò¹®ÀÚ ¹Ù²Ù±â


''' Q. commit ÀÌÈÄ ¾ÆÀÌÄÜÀÌ ¹Ù·Î º¯°æµÇÁö ¾Ê´Â ÀÌÀ¯´Â ?'''



ID
Password
Join
Executive ability is prominent in your make-up.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2010-09-07 14:32:17
Processing time 0.0150 sec