* ¿øº»¸µÅ© : http://www.computas.com/pub/wincvs-howto/
- °³¿ä
- ¿ë¾îÇØ¼³
- ½Å±Ô ¸ðµâÀ» ½ÃÀÛÇϱâ
- CVS·Î ºÎÅÍ ½Å±Ô ¸ðµâÀ» ¾ò±â
- CVS·ÎºÎÅÍ ´Ù¸¥ °³¹ßÀÚÀÇ ¼öÁ¤»çÇ×À» ¾ò¾î³»±â
- Ãæµ¹(Conflict)¸¦ ÇØ°áÇϱâ
- CVS·Î ¼öÁ¤µÈ »çÇ×À» Àü¼ÛÇϱâ
- º¯°æ»çÇ× È®ÀÎÇϱâ
- ÅÂ±× Ãß°¡Çϱâ
- ÈÀÏ/µð·ºÅ丮¸¦ Ãß°¡Çϱâ
- ÈÀÏ/µð·ºÅ丮¸¦ Á¦°ÅÇϱâ
- ÈÀÏ/µð·ºÅ丮¸¦ À̵¿ ȤÀº À̸§º¯°æÇϱâ
- ºê·£Ä¡ »ý¼º
- ÀÛµ¿ÁßÀÎ ºê·£Ä¡ ¼±ÅÃÇϱâ
- ºê·£Ä¡·Î ºÎÅÍ º´ÇÕÇϱâ
- ¸ÞÀÎ °³¹ß ¶óÀÎÀ¸·Î º¹±ÍÇϱâ
- ´©°¡ ÈÀÏÀ» ¼öÁ¤Çϰí ÀÖÁö?
- ºÎ·Ï A: FAQ
- updateÁß¿¡ º¸ÀÌ´Â Àǹ®ÀÇ ±ÛÀÚµéÀÌ ¹«¾ùÀ» ÀǹÌÇϴ°¡?
- ¼¹öÀÇ ½Ã°¢ÀÌ Æ²·È´Ù! ID ÅÂ±×¿Í ·Î±×µéÀÌ Æ²¸° ½Ã°¢À¸·Î º¸À̰í ÀÖ´Ù!
- ºÎ·Ï B : CVS¿Í Microsoft Visual Source Safe¿Í ´Ù¸¥ Á¡Àº ¹«¾ùÀΰ¡?
1 °³¿ä
ÀÌ ¹®¼´Â wincvs Ŭ¶óÀÌ¾ðÆ®¸¦ ¸ÅÀÏ »ç¿ëÇÏ´Â µ¥ ÀÖ¾î Âü°í»çÇ×µéÀ» Á¤¸®ÇÑ °ÍÀÌ´Ù. ¹öÁ¯ °ü¸®½Ã½ºÅÛ°ú CVS¿¡ ´ëÇÑ ¼Ò°³±ÛÀÌ ¾Æ´Ï¸ç, »ó´çÈ÷ °³·«ÀûÀÎ ¼³¸í¸¸À» ´ã°í ÀÖ´Ù.
ÀÌ¹Ì wincvs¸¦ ¼³Ä¡ÇØ ³õ¾Ò´Ù°í °£ÁÖÇÒ °ÍÀ̸ç, cvs ÀúÀå¼Ò¿¡ ´ëÇÑ ¼³Á¤À» ³¡¸¶Ä£ »óŶó°í »ý°¢Çϵµ·Ï ÇϰڴÙ.
2 ¿ë¾îÇØ¼³
cvs³ª wincvs»ó¿¡¼ »ç¿ëµÇ´Â ¿ë¾îµéÀº ´Ù¸¥ ¼Ò½ºÀúÀå½Ã½ºÅÛ°ú´Â ´Ù¼Ò ´Ù¸¦ ¼ö ÀÖ´Ù. È¥¶õÀ» ÇÇÇϱâ À§Çؼ ÀÌ ¼½¼Ç¿¡¼´Â °¡Àå ÇÙ½ÉÀûÀ¸·Î »ç¿ëµÇ´Â ¿ë¾îµé¿¡ ´ëÇØ ³íÇϵµ·Ï ÇÑ´Ù. cvs¸¦ »ç¿ëÇÏ´Â µ¥ À־ ´ÙÀ½°ú °°Àº ¿ë¾îµé¿¡ Àͼ÷ÇØÁú Çʿ䰡 ÀÖ´Ù.
| Checkout | º¸Åë ÀúÀå¼Ò·ÎºÎÅÍ Àüü ¸ðµâÀ» ¹Þ´Â ÀÛ¾÷À» ¸»ÇÔ. |
| Commit | ÀúÀå¼Ò·Î ¼öÁ¤»çÇ×À» Àü¼ÛÇÏ´Â °Í. |
| Export | Refers to extraction of an entire module from the repository, without any CVS administrative files: exportµÈ ¸ðµâÀº cvs Á¦¾î¸¦ ¹ÞÁö ¾Ê´Â´Ù. |
| Import | Àüü µð·ºÅ丮 ±¸Á¶¸¦ Àü¼ÛÇÔÀ¸·Î½á ÀúÀå¼Ò¿¡ »õ·Î¿î ¸ðµâÀ» »ý¼ºÇÏ´Â °Í. |
| Module | µð·ºÅ丮 °èÃþ. ÇÁ·ÎÁ§Æ®´Â ÀϹÝÀûÀ¸·Î ÀúÀå¼Ò³»¿¡ ´Ü ÇϳªÀÇ ¸ðµâ·Î¼ Á¸ÀçÇÏ´Â °ÍÀÌ º¸ÅëÀÌ´Ù. |
| Release | Àüü ÇÁ·ÎÁ§Æ®ÀÇ ¹öÁ¯. |
| Revision | ÇѰ³ÀÇ ÈÀÏ¿¡ ´ëÇÑ ¹öÁ¯. |
| Tag | °³¹ß»óÀÇ Æ¯Á¤ ½ÃÁ¡À» ³ªÅ¸³»´Â ÈÀϵéÀÇ ÁýÇÕ¿¡ ÁÖ¾îÁö´Â ¹®ÀÚ¿(¸íĪ). |
| Update | ÀúÀå¼Ò·ÎºÎÅÍ ´Ù¸¥ °³¹ßÀÚµéÀÇ ¼öÁ¤»çÇ×À» ¾ò´Â °Í. ´ÜÁö °³¹ßÀÚ °³ÀÎ PC·ÎÀÇ Áö¿ªº¹»ç¸¸À» °»½ÅÇÑ´Ù. |
"revision", "release", "version", "tag"¿¡ ´ëÇÑ ´õ¿í ÀÚ¼¼ÇÑ ¼³¸íÀº CVS¹®¼ÀÇ 4ÀåÀ» ÂüÁ¶Çضó.
3 ½Å±Ô ¸ðµâÀ» ½ÃÀÛÇϱâ
¹öÀü°ü¸®ÇÏÀÇ ÇÁ·ÎÁ§Æ®¸¦ ¾ò´Â °ÍÀº CVS¿ë¾î·Î importÇÑ´Ù°í ¸»ÇÑ´Ù. As the name implies, you should have something for the CVS server to import before thinking version control.
cvs´Â ÇÁ·ÎÁ§Æ® ÈÀϵéÀ» À籸¼ºÇϴµ¥ ÇÊ¿äÇÑ ±â´ÉÁö¿øÀÌ ºÎÁ·ÇϹǷÎ, ½Å±Ô ¸ðµâÀ» import Çϱâ Àü¿¡ °ü¸®°èȹÀ» Àß ¼¼¿î´Ù¸é importÇϴµ¥ ÀÖ¾î¼ ¹ß»ýÇÒ ¼ö ÀÖ´Â °ñÄ¡¾ÆÇ ÀϵéÀ» ÁÙÀÏ ¼ö ÀÖÀ» °ÍÀÌ´Ù.
import ¸í·ÉÀ» ÇϱâÀü¿¡ ±âº»ÀûÀÎ °ÍÀº importÇÒ ¸ðµâÀ» "±ú²ýÇÑ" µð·ºÅ丮 ±¸Á¶·Î ¸¸µå´Â °ÍÀÌ´Ù. "±ú²ýÇÏ´Ù"´Â Àǹ̴ ¸ðµâ³»¿¡ ¹öÁ¯°ü¸®¸¦ ÇÏÁö ¾Ê¾Æµµ µÇ´Â ÈÀϵé(¿¹¸¦ µé¸é ÄÄÆÄÀÏ·¯°¡ »ý¼ºÇÏ´Â ÈÀϵé)ÀÌ ¸ðµÎ Á¦°ÅµÈ »óŸ¦ ÀǹÌÇÑ´Ù. À̰ÍÀº importÀü¿¡ ÇÁ·ÎÁ§Æ®°¡ ¾î´ÀÁ¤µµ ÁøÇàµÇ¾úÀ» °æ¿ì¶ó¸é ƯÈ÷ Áß¿äÇÑ ÀÏÀÌ´Ù. ¿©·¯ºÐÀÇ ¸ðµâ¿¡¼ ¹öÁ¯°ü¸®¸¦ ¹ÞÁö ¾Ê¾Æµµ µÇ´Â ÈÀϵéÀ» °¡Áö°í ÀÖÀ» ¼ö ÀÖ°í, ÀÌ ÈÀϵéÀÌ ¾î·µç °è¼Ó »ç¿ëµÉ ¼öµµ ÀÖ´Ù. ÀÌ·± °æ¿ì¿¡´Â ÀÌ ÈÀϵéÀ» import Àü¿¡ ´Ù¸¥ °÷¿¡ ¿Å°Ü³õ¾Ò´Ù°¡, importÇÑ ÈÄ ´Ù½Ã µÇµ¹·Á ³õ¾Æ¾ß¸¸ ÇÑ´Ù.
cvs´Â ºó µð·ºÅ丮¸¦ Á¸ÀçÇÏÁö ¾Ê´Â °ÍÀ¸·Î °£ÁÖÇÑ´Ù´Â °Í¿¡ ÁÖÀÇÇØ¶ó. ¸¸ÀÏ ÈÀÏÀ̳ª ¼ºêµð·ºÅ丮°¡ ¾ø´Â ÅÖºó µð·ºÅ丮¸¦ Ãß°¡ÇÏ·Á°í ÇÑ´Ù¸é, ´õ¹Ì ÈÀÏÀ» Çϳª ¸¸µé¾î ³õÀ» Çʿ䰡 ÀÖ´Ù. ÀϹÝÀûÀ¸·Î ÀÌ µð·ºÅ丮¿¡ ´ëÇÑ ¼³¸íµîÀ» ±â¼úÇÑ README.txt °°Àº ÈÀÏÀ» ³Ö´Â °ÍÀÌ °ü·ÊÀÌ´Ù.
Çѹø¿¡ ÀúÀå¼Ò¾È¿¡ ¿øÇÏ´Â ÈÀϵéÀ» ´ã°íÀÖ´Â µð·ºÅ丮¸¦ °¡Áö·Á¸é, wincvs¸¦ »ç¿ëÇØ¼ ¸ðµâÀ» importÇϱâ À§ÇØ ´ÙÀ½ ´Ü°è´ë·Î ½ÇÇàÇØ¶ó :
- Admin -> Import module ¸Þ´º¸¦ ¼±ÅÃÇÑ´Ù.
- ÈÀÏ´ëÈ»óÀÚ°¡ ³ªÅ¸³ª¸é, importÇϱ⸦ ¿øÇÏ´Â ÇÁ·ÎÁ§Æ®ÀÇ ÃÖ»óÀ§ µð·ºÅ丮¸¦ ¼±ÅÃÇØ¶ó.
- wincvs´Â ÀÌÁ¦ ÁöÁ¤ÇÑ µð·ºÅ丮³»ÀÇ ¸ðµç ÈÀϵéÀ» ÈÈ°ÔµÉ °ÍÀÌ´Ù. ÇÊÅÍ À©µµ¿ì°¡ ³ªÅ¸³ª¸é, È®ÀåÀÚº°·Î text/binary ¼³Á¤À» ÁöÁ¤Ç϶ó.
- import ¼³Á¤ ´ëÈ»óÀÚ¿¡¼´Â ¸ðµâÀÇ À̸§À» ÀÔ·ÂÇÑ´Ù. À̰ÍÀº ÀÌ ÇÁ·ÎÁ§Æ®¿¡ ÀÖ¾î¼ °³¹ßÀÚµéÀÌ Ã¤Å©¾Æ¿ôÇÏ´Â ÃÖ»óÀ§ µð·ºÅ丮°¡ µÈ´Ù.
- vendor¶õ¿¡´Â µî·ÏÀÚÀÇ À̸§À̳ª id, ȸ»ç¸íÁß Çϳª¸¦ ³Ö´Â´Ù. (°ø¹é¹®ÀÚ ±ÝÁö)
- release¶õ¿¡ start¶ó°í Àû´Â´Ù.
- OK ¹öưÀ» ¼±ÅÃÇÑ´Ù.
ÀÌÁ¦ wincvs´Â cvs¼¹ö·Î ÇÁ·ÎÁ§Æ® ¸ðµâÀ» import ÇÒ °ÍÀÌ´Ù. import°¡ 󸮵Ǵ µ¿¾È¿¡´Â ¾÷·ÎµåµÇ´Â ¸ðµâÀÌ ¾÷µ¥ÀÌÆ®µÇÁö ¾Êµµ·Ï ÇÏ´Â °ÍÀÌ ÁÁ´Ù. (ÀÛ¾÷ÇÏ´ø °³¹ßÅøÀº ²¨µÎ´Â °ÍÀÌ ÁÁ°Ú´Ù.) À̰ÍÀº import°¡ ½ÇÇàµÉ µ¿¾ÈÀº Áö¿ª º¹»çº» ¸ðµâÀº ¾ÆÁ÷ ¹öÁ¯°ü¸®ÇÏ¿¡ ÀÖÁö ¾Ê´Ù´Â °ÍÀ» ÀǹÌÇÑ´Ù. ¹öÁ¯°ü¸®µÉ ¼Ò½º¸¦ °¡Áö°í ÇÁ·ÎÁ§Æ®¸¦ ½ÃÀÛÇϱâ Àü¿¡, ´ÙÀ½°ú °°Àº »çÇ×À» ²À ÇØ³õµµ·Ï ÇÑ´Ù:
- ¼Ò½ºÀÇ ¿øº»À» µû·Î º¸°üÇØµÐ´Ù. ¿¹¸¦ µé¸é, µð·ºÅ丮ÀÇ À̸§À» .old°°Àº °ÍÀ» ºÙ¿©¼ renameÇÏ´Â °Íµµ ÁÁÀº ¹æ¹ýÀÌ´Ù.
- º°µµÀÇ Áö¿ª µð·ºÅ丮¸¦ ¸¸µé°í äũ¾Æ¿ôÀ» ÇÏ¿© cvs·Î ºÎÅÍ Ãʱâ¹öÁ¯ÀÌ ¼³Á¤µÈ ÇÁ·ÎÁ§Æ®¸¦ ¹Þ¾Æ³õ´Â´Ù.
- "Áß¿äÇÏÁö¾ÊÀº" ÈÀÏÀº µð·ºÅ丮 ¹Ù±ù¿¡ À̵¿Çسõ´Â´Ù.
ÀÌÁ¦ ¹öÁ¯°ü¸® µÇ´Â ÇÁ·ÎÁ§Æ®¸¦ ½ÃÀÛÇÒ ¼ö ÀÖ°Ô µÇ¾ú´Ù.
4 CVS·Î ºÎÅÍ ½Å±Ô ¸ðµâÀ» ¾ò±â
óÀ½ CVS ¼¹ö·Î ºÎÅÍ ¸ðµâÀ» ¾ò´Â ÀÛ¾÷À» CVS¿¡¼´Â äũ¾Æ¿ôÀ̶ó°í ÇÑ´Ù. ÀúÀå¼Ò·ÎºÎÅÍ ¸ðµâÀ» äũ¾Æ¿ôÇÑ´Ù´Â °ÍÀº ¸ðµâÀ» ±¸¼ºÇÏ´Â µð·ºÅ丮 Æ®¸® ÀüüÀÇ Áö¿ª º¹»çº»À» »ý¼ºÇÏ´Â °ÍÀ» ÀǹÌÇÑ´Ù. äũ¾Æ¿ôÀ» ½ÇÇàÇÏ·Á¸é, ´ÙÀ½°ú °°ÀÌ ½ÇÇàÇÑ´Ù:
- CVS Admin ¸Þ´º¸¦ ¼±ÅÃÇÏ¿© Checkout module ¸Þ´º¸¦ ¼±ÅÃÇÑ´Ù.
- In the file dialog that pops up, choose the directory in which you want the module to be located. A directory named after the module will be created in the directory you supply, so you will normally want to provide the directory in which you keep all your projects.
- äũ¾Æ¿ô ¼³Á¤ ´ëÈ»óÀÚ°¡ ³ªÅ¸³´Ù. "Enter the module name..." Çʵ忡 ¸ðµâ¸íÀ» ÀÔ·ÂÇÑ´Ù. ¸ðµâ¸íÀº ´ë¼Ò¹®ÀÚ±¸ºÐÀÌ ÀÖ´Ù´Â °Í¿¡ ÁÖÀÇÇØ¶ó.
- Globals ÅÇÀ» ¼±ÅÃÇ϶ó.
- Set the Checkout read-only according to what the project leader tells you (see below).
- Press the OK button.
If you state that Checkout read-only should be in use, you will have to tell wincvs which files you intend to edit before editing them. This may be cumbersome, but it enables other developers to track who is currently editing given files. See the section Who's Editing that File? for more information.
5 CVS·ÎºÎÅÍ ´Ù¸¥ °³¹ßÀÚÀÇ ¼öÁ¤»çÇ×À» ¾ò¾î³»±â
¶§·Î´Â ´Ù¸¥ »ç¶÷ÀÌ ÀÛ¾÷ÇØ³õÀº º¯°æ»çÇ׸¸À» ¿©·¯ºÐÀÇ Áö¿ªº¹»çº»¿¡ º´ÇÕ½Ã۱âÀ§ÇØ °¡Á®¿À°í ½ÍÀ» ¶§°¡ ÀÖÀ» ¼öµµ ÀÖ´Ù. Áö¿ªº¹»çº»À¸·Î ÇöÀç ¼¹ö·ÎºÎÅÍ º¯°æ»çÇ×À» °¡Á®¿À´Â °ÍÀ» CVS¿¡¼´Â °»½Å(Update)¶ó°í ÇÑ´Ù. °»½ÅÀÛ¾÷Àº ´ÜÀÏ ÈÀÏÀ̳ª ¼±ÅÃµÈ ¿©·¯°³ÀÇ ÈÀÏ ¹À½, ÇÏÀ§µð·ºÅ丮±îÁö Æ÷ÇÔÇÑ Æ¯Á¤ µð·ºÅ丮°¡ µÉ ¼öµµ ÀÖ´Ù. °»½ÅÀÛ¾÷À» ¼öÇàÇÏ·Á¸é ´ÙÀ½´Ü°è¸¦ ¹â¾Æ¶ó.
- updateÇϱâÀ§ÇÑ µð·ºÅ丮³ª ÈÀÏ(µé)À» ¼±ÅÃÇØ¶ó.
- ¼±ÅÃµÈ ºÎºÐ¿¡¼ ¿À¸¥ÂÊ ¹öưÀ» ´·¯¼ "Update selection"À» ¼±ÅÃÇÑ´Ù.
- "Create missing directories that exist in the repository" ¿É¼ÇÀÌ Ã¤Å©µÇ¾î ÀÖµµ·Ï ¼³Á¤ÇÑ´Ù.
- OK ¹öưÀ» ¼±ÅÃÇÑ´Ù.
´Ù¸¥ °³¹ßÀÚ¿¡ ÀÇÇÑ ¼öÁ¤»çÇ×Àº ÀÌÁ¦ Áö¿ªÈÀÏ¿¡ º´ÇյǸç, Áö¿ªÈÀÏ¿¡ ½ÇÇàÇß´ø º¯°æÁ¡µéÀº ±×´ë·Î À¯ÁöµÈ´Ù. ÀúÀå¼Ò´Â update¿¡ ÀÇÇØ¼ ¿µÇâ¹ÞÁö ¾Ê´Â´Ù.
¾÷µ¥ÀÌÆ® µ¿¾È¿¡ ¸¸¾à Ãæµ¹¿¡ ´ëÇÑ ¸Þ¼¼Áö¸¦ ¹Þ¾Ò´Ù¸é, ´ÙÀ½ ÀåÀ» Àоµµ·Ï ÇØ¶ó.
6 Ãæµ¹(Conflict)¸¦ ÇØ°áÇϱâ
°£È¤°¡´Ù°¡ CVS¼¹ö´Â ÈÀÏÀ» update ÇÏ´Â µµÁß¿¡ Ãæµ¹¸Þ¼¼Áö¸¦ ³ªÅ¸³¾ ¶§°¡ ÀÖ´Ù. Ãæµ¹Àº ÇѸíÀÌ»óÀÇ °³¹ßÀÚ°¡ ÀúÀå¼ÒÀÇ µ¿ÀÏÇÑ ÈÀÏÀÇ µ¿ÀÏÇÑ ºÎºÐÀ» º¯°æÇßÀ»¶§ ¹ß»ýÇÑ´Ù. CVS¼¹ö´Â ¹öÁ¯°ü¸®¸¸ ÇÒ »Ó, ÇÁ·ÎÁ§Æ®¿¡ ´ëÇØ °ü¿©ÇÏÁö´Â ¾ÊÀ¸¹Ç·Î, ÀÌ Ãæµ¹Àº °³¹ßÀÚµéÀÌ Ç® ¼ö ÀÖµµ·Ï ±×³É ³»¹ö·ÁµÎ°ÔµÈ´Ù. Ãæµ¹ÀÌ ÀϾ¸é, ÇØ´çÈÀÏÀ» ¿¾î¼ <<<<<<< ¹®ÀÚ¿À» ¿ì¼± ã¾Æ¶ó. Ãæµ¹ ºÎºÐÀº ´ÙÀ½°ú °°ÀÌ Ç¥½ÃµÈ´Ù.
<<<<<<< filename
ÇöÀç °³¹ßÀÚ°¡ °íÄ£ ºÎºÐ
=======
ÀúÀå¼Ò·ÎºÎÅÍ ÇÕÃÄÁø ºÎºÐ
>>>>>>> revision
ÀúÀå¼Ò¿¡¼ ³Ñ¾î¿Â ÄÚµå¿Í ÀÚ½ÅÀÌ ¼öÁ¤ÇÑ Äڵ带 ºñ±³Çؼ ¾Ë¸ÂÀº ¼öÁ¤À» °¡Çضó. CVS ¼¹ö°¡ Ç¥½ÃÇØ³õÀº ¹®ÀÚ¿À» Áö¿ì°í, ÀúÀå¼Ò¿¡ ¼öÁ¤ÇÑ ³»¿ëÀ» commitÇÏ¸é µÈ´Ù.
7 CVS·Î ¼öÁ¤µÈ »çÇ×À» Àü¼ÛÇϱâ
°³¹ßÀÚ°¡ °³ÀÎÀûÀ¸·Î ¼öÁ¤ÇÑ ³»¿ëÀ» ÀúÀå¼Ò¿¡ ¹Ý¿µÇÏ·Á¸é, commitÀ̶ó´Â ¸í·ÉÀ» »ç¿ëÇÑ´Ù.
- commitÇϱâÀü¿¡, update¸¦ ½ÇÇàÇØ¼ ¼öÁ¤ÇÑ ÈÀϵ鿡 ´ëÇÑ Ãæµ¹ÀÌ ¾ø´ÂÁö ã¾ÆºÁ¶ó. "CVS·ÎºÎÅÍ ´Ù¸¥ °³¹ßÀÚÀÇ ¼öÁ¤»çÇ×À» ¾ò¾î³»±â"¸¦ ÂüÁ¶Çضó.
- commitó¸®ÇÒ µð·ºÅ丮³ª ÈÀÏ(µé)À» ¼±ÅÃÇØ¶ó.
- ¸¶¿ì½º ¿À¸¥¹öưÀ» Ŭ¸°ÇÑÈÄ, ³ªÅ¸³ª´Â ¸Þ´º¿¡¼ "Commit selection"À» ¼±ÅÃÇØ¶ó.
- commit settings ´ëÈ»óÀÚ°¡ ³ªÅ¸³ª¸é, ·Î±×¸Þ¼¼Áö¸¦ ÀÔ·ÂÇÑ´Ù. À̰ÍÀº ¿É¼Ç»çÇ×À̸ç, º¯°æ»çÇ×À» Â÷ÈÄ¿¡ log¸¦ ÅëÇØ »¡¸® È®ÀÎÇÏ·Á¸é Àû¾î³õ´Â °ÍÀ» ÃßõÇÑ´Ù.
- ok ¹öưÀ» ´©¸¥´Ù.
commit ¸í·ÉÀº ÀúÀå¼Ò¿¡ Ãß°¡½Ãų »õ·Î¿î ÈÀϵéÀ» ÀÚµ¿ÀûÀ¸·Î Ãß°¡ÇÏÁö´Â ¾Ê´Â´Ù´Â °ÍÀ» ¸í½ÉÇØ¶ó. "ÈÀϰú µð·ºÅ丮¸¦ Ãß°¡Çϱâ"¸¦ ÂüÁ¶Ç϶ó.
8 º¯°æ»çÇ× È®ÀÎÇϱâ
wincvs´Â ÈÀÏ(µé)À̳ª µð·ºÅ丮ÀÇ »óÅÂ, ·Î±×±â·Ï, º¯°æÁ¡ °Ë»çµîµîÀ» ¿¶÷Çϴµ¥ »ç¿ëµÉ ¼ö ÀÖ´Ù.
- ¼¼ºÎ»çÇ×À» °Ë»çÇϰí½ÍÀº µð·ºÅ丮³ª ÈÀÏ(µé)À» ¼±ÅÃÇÑ´Ù.
- ¿À¸¥ÂÊ ¸¶¿ì½º ¹öưÀ» Ŭ¸¯Çؼ "Diff selection", "Log selection", "Status selection", "Graph selection"Áß Çϳª¸¦ ¼±ÅÃÇÑ´Ù.
- ¸¸ÀÏ ´ëÈ»óÀÚ°¡ ³ªÅ¸³ª¸é, ÇÊ¿äÇÑ ¿É¼ÇÀ» ÁöÁ¤Çϰí OK¸¦ ¼±ÅÃÇÑ´Ù.
´ÙÀ½Àº º¯°æ»óŸ¦ Á¶È¸ÇÏ´Â ±âº»ÀûÀÎ ¸í·Éµé¿¡ ´ëÇÑ °£´ÜÇÑ ¼³¸íÀÌ´Ù.
| Diff | ÇöÀç Áö¿ª Çϵåµð½ºÅ©¿¡ ÀúÀåµÇ¾îÀÖ´Â ÈÀϰú ÀÌÀü ¹öÁ¯ ȤÀº ÇöÀç ÀúÀå¼Ò¿¡ ÀÖ´Â ÈÀϰúÀÇ º¯°æÁ¡À» º¸¿©ÁØ´Ù. (ÀÌ CVSÀÇ °¡Àå Çٽɱâ´ÉÀÏ °ÍÀÌ´Ù.) |
| Log | ·Î±× ¸Þ¼¼Áö³ª ¼öÁ¤³¯Â¥, ű×, ¼öÁ¤ÀÛ¾÷ÀÚ¸íµîµîÀ» º¸¿©ÁØ´Ù. |
| Status | ÁöÁ¤ÇÑ ÈÀϵéÀÇ ¼öÁ¤»çÇ×ÀÇ ¿ä¾à»óŸ¦ º¸¿©ÁØ´Ù. ÀÌ»óÅ¿¡¼ diff³ª log¸í·ÉÀ» ¹Ù·Î ½ÇÇàÇÒ ¼öµµ ÀÖ´Ù. |
| Graph | ÇϳªÀÇ ÈÀÏ¿¡ ´ëÇÑ ¼öÁ¤´Ü°è¸¦ ±×·¡ÇÁÇüÅ·Πº¸¿©ÁØ´Ù. |
9 ÅÂ±× Ãß°¡Çϱâ
At a given stage of development, giving one or more files a common label to refers to their revisions, is known as tagging those files. Tagging is typically used on entire modules, so that the current state of the module can be reconstructed in the future. This kind of tagging should always be done on project deliverables, and before starting major changes.
To tag one or more files or directories with a label, do the following:
- Select the directory, file or files that you want to tag.
- Click the right mouse button on the selction, and choose the Tag selection -> Create a tag menu item.
- Enter the label in the New tag name input field. (See below for restrictions on tag names.)
- Press OK button.
ÅÂ±× ¸íÀ» Á¤ÇÒ¶§¿¡´Â CVS´Â ¸Å¿ì Á¦¾àÀ» ¸¹ÀÌ ÇÏ´Â ÆíÀÌ´Ù. ű׸íÀº ¹Ýµå½Ã ¹®ÀÚ, ¼ýÀÚ, ÇÏÀÌÇÂ(-)¹®ÀÚ, ¹ØÁÙ(_)¹®ÀÚ¹Û¿¡ »ç¿ëÇÒ¼ö¾ø´Ù. .¹®ÀÚ¿Í °ø¹é¹®ÀÚÁ¶Â÷µµ Æ÷ÇÔÇÒ ¼ö ¾ø´Ù´Â °Í¿¡ ÁÖÀÇÇÏÀÚ. ¹öÀü¹øÈ£¸¦ ±»ÀÌ Ç¥½ÃÇÏ°í ½Í´Ù¸é, .¹®ÀÚ¸¦ -·Î º¯°æÇÏ´Â °ÍÀÌ ÁÁÀ» °ÍÀÌ´Ù. ű׸íÀº µÎ°¡Áö°¡ ¿¹¾àµÇ¾îÀÖ´Ù. "HEAD"´Â ÀúÀå¼Ò¿¡ ÀúÀåµÈ °¡Àå ÇöÀç ¹öÁ¯À» ÀǹÌÇϰí, "BASE"´Â °¡Àå ÃÖ±Ù¿¡ äũ¾Æ¿ôÇß´ø ¼Ò½ºÀÇ ¹öÁ¯À» ³ªÅ¸³½´Ù. ´Ù½Ã ¸»Çϸé, "HEAD"´Â ÀÛ¾÷ÇÑ °¡Àå ÃֽйöÁ¯ÀÇ ¼Ò½º¸¦ °¡Á®¿À°Ô µÇ¸ç, "BASE"´Â °¡Àå ÃÖ±Ù¿¡ ÀÚ½ÅÀÌ ÀÛ¾÷ÇÑ ¹öÁ¯À» ³ªÅ¸³½´Ù.
10 ÈÀÏ/µð·ºÅ丮¸¦ Ãß°¡Çϱâ
ÀúÀå¼Ò¿¡ Ãß°¡Çϱ⸦ ¿øÇÏ´Â ½Å±Ô ÈÀϵéÀ» CVS ¼¹ö»ó¿¡ Ãß°¡ÇϰíÀÚ ÇÒ ¶§´Â, CVS ¼¹ö¿¡ ¹Ýµå½Ã µî·ÏÀ» ÇØÁÖ¾î¾ßÇÑ´Ù. ¸¸¾à CVS Á¦¾îÇÏ¿¡ ÀÖÁö ¾ÊÀº ÈÀϵéÀ» µð·ºÅ丮°¡ ´ã°í ÀÖ´Ù¸é, ±× ÈÀÏ¿¡ ´ëÇÑ ÀÛ¾÷ ÀÌÀü¿¡ ±× ÈÀÏÀ» µî·Ï½ÃÄÑ¾ß ¹öÁ¯°ü¸®¿¡ ´ëÇÑ È¿°ú¸¦ º¼ ¼ö ÀÖ´Ù. ÈÀÏÀ̳ª µð·ºÅ丮¸¦ Ãß°¡ÇÏ·Á¸é ´ÙÀ½°ú °°Àº ´Ü°è¸¦ ¹â¾ÆÁØ´Ù.
- Ãß°¡ÇϰíÀÚ ÇÏ´Â µð·ºÅ丮³ª ÈÀÏ(µé)À» ¼±ÅÃÇÑ´Ù.
- ¼±ÅÃÇÑ °÷¿¡¼ ¿À¸¥ÂÊ ¹öưÀ» ´·¯ ³ªÅ¸³ª´Â ¸Þ´º»ó¿¡¼, "Add selection" ¶Ç´Â "Add selection binary" ¸Þ´º¸¦ ¼±ÅÃÇÑ´Ù. textÈÀÏÀÌ ¾Æ´Ñ °æ¿ì¿¡´Â binary¸¦ ¼±ÅÃÇÏ´Â °ÍÀÌ ÁÁ´Ù. ¾Æ´Ï¸é CVS¿¡ ÀÇÇØ ÈÀÏÀÌ ±úÁú °¡´É¼ºÀÌ ÀÖ´Ù!
- Ãß°¡µÈ ÈÀϵéÀº ¼öÁ¤µÇ¾ú´Ù´Â Ç¥½Ã°¡ µÇ¾îÀÖÀ» »ÓÀÌ´Ù. À̰ÍÀ» ÀúÀå¼Ò¿¡ ¿ÏÀüÈ÷ Ãß°¡ÇÏ·Á¸é, commit ¸í·ÉÀ» ½ÇÇàÇØ¶ó.
°³º° ÈÀÏÀÌ ¾Æ´Ñ µð·ºÅ丮 Àüü¸¦ Ãß°¡ÇϰíÀÚ ÇÑ´Ù¸é, À§ ¹æ¹ýÀº Á¤¸»·Î ¼º°¡½Å ¹æ¹ýÀÌ µÉ ¼ö ÀÖ´Ù. (ÀÛ¾÷ÀÌ Àç±ÍÀûÀ¸·Î ÇÏÀ§µð·ºÅ丮±îÁö ÀÛ¾÷À» ÇØÁÖÁö ¾Ê±â ¶§¹®ÀÌ´Ù.) ÀÌ·²¶§¿¡´Â import¸í·ÉÀ» ½ÇÇàÇÏ´Â °ÍÀÌ ÁÁ´Ù.
- "Cvs Admin" -> "Import module" ¸Þ´º¸¦ ¼±ÅÃÇÑ´Ù.
- ÈÀÏ ´ëÈ»óÀÚ°¡ ³ªÅ¸³ª¸é, importÇÒ µð·ºÅ丮¸¦ ¼±ÅÃÇÑ´Ù. (¼±ÅÃÇÏ¸é ¿·ÁÁ®ÀÖ´Â Æú´õ »óÅ·Π¾ÆÀÌÄÜÀÌ º¯ÇÑ´Ù.)
- wincvs´Â ÀÌÁ¦ µð·ºÅ丮 Æ®¸®³»¿¡ ÀÖ´Â ÈÀϵéÁß ÀÌÁø(binary)ÈÀϵéÀ» ½Äº°ÇÏ·ÁÇÒ °ÍÀÌ´Ù. filter À©µµ¿ì°¡ ³ªÅ¸³ª¸é, Á¤È®ÇÑ text/ÀÌÁø ¼³Á¤À» ÈÀÏ È®ÀåÀÚº°·Î ¼±ÅÃÇØÁØ´Ù.
- "Import settings" ´ëÈ»óÀÚ°¡ ³ªÅ¸³ª¸é, µð·ºÅ丮¸íÀ» Æ÷ÇÔÇÑ ¸ðµâ¸íÀ» Àû¾î³Ö¾î¶ó. ¸¸¾à ¸ðµâ¸íÀÌ "myproject"¶ó°í Çϰí "source/utils" ¿¡ ÇØ´çÇÏ´Â ³»¿ëÀ» importÇÏ·ÁÇÑ´Ù¸é, "Select the module name..." ÀԷ¶õ¿¡´Â "myproject/source/utils"¶ó°í Àû¾î³ÖÀ¸¸éµÈ´Ù. ´ë¼Ò¹®ÀÚ±¸ºÐÀ» ÇÑ´Ù´Â °Í°ú ÀÌ ¾Æ´Ñ /¸¦ »ç¿ëÇÑ´Ù´Â °Íin the Select the module name... input field.
- Type your name, or your company name (no spaces) in the Vendor tag field.
- Type start in the Release tag field.
- OK buttonÀ» ´©¸¥´Ù.
wincvs will now import your entire directory hierarchy to the CVS server, under the given module. Note that nothing will be changed in your local files during the import operation. This means that your local copy will not be under version control after the import. To have the newly imported hierarchy under version control, obtain a copy of it from the repository:
- Move your original hierarchy away, eg. by renaming the directory you just imported to *.old using Windows' file explorer.
- In wincvs, select the directory above the one you just added. Right click on it, and choose Update selection.
- Make sure Create missing directories that exist in the repository is checked.
- Press the OK button.
wincvs will now give you a fresh, version controlled copy of your hierarchy.
11 ÈÀÏ/µð·ºÅ丮¸¦ Á¦°ÅÇϱâ
To remove files, you first schedule the files for removal, and then commit the change:
- Select the file or files that you want to remove.
- Click the right mouse button on the selction, and choose the Remove selection menu item.
- As the files are only marked for removal, you have to commit them to remove them from the repository. See Sending Your Changes to CVS if you don't know how to commit.
The files will now be removed from the repository. Note that files are not physically removed, but rather marked as "dead". By this way it will still be possible to retrieve the files if you choose to check out an old version of the module.
Removing directories is another story. CVS will optionally remove empty directories when you update one of its parent directories. If you want to get rid of an empty directory, do the following:
- Select the parent directory of the empty directory you want to remove.
- Click the right mouse button on the selction, and choose the Update selection menu item.
- Select the Globals tab.
- Make sure Prune (remove) empty directories is checked (it is by default).
- Press the OK button.
The directory will be removed if all its files were previously removed from your local copy and from the repository.
12 ÈÀÏ/µð·ºÅ丮¸¦ À̵¿ ȤÀº À̸§º¯°æÇϱâ
Operation of moving or renaming files or directories is not available in CVS. This is one of CVS's shortcomings. To simulate moving or renaming, you have to combine remove and add operations. See Adding Files and Directories and Removing Files and Directories.
13 ºê·£Ä¡ »ý¼º
¹öÀü ÄÜÆ®·Ñ ½Ã½ºÅÛÀÇ ±â´ÉÁß Çϳª´Â °³¹ß¼±»ó¿¡¼ º¯°æ»çÇ×À» °í¸³½ÃŰ´Â ±â´ÉÀÌ´Ù. ÀÌ º°µµ·Î »ý¼ºµÈ °³¹ß¼±À» ºê·£Ä¡¶ó°í ÇÑ´Ù.
ºê·£Ä¡¸¦ »ý¼ºÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ ½ÇÇàÇÑ´Ù:
- ºê·£Ä¡¸¦ »ý¼ºÇϱ⸦ ¿øÇÏ´Â µð·ºÅ丮³ª ÈÀϵéÀ» ¼±ÅÃÇÑ´Ù.
- Modify ¸Þ´º¿¡¼ Create a Brench¸¦ ¼±ÅÃÇÑ´Ù.
- New branch name Ç׸ñ¿¡ Åױ׸íÀ» Àû´Â´Ù. Àû¹ýÇÑ Åױ׸íÀ» Àû¾î¾ßÇÑ´Ù´Â °Í¿¡ ÁÖÀÇÇØ¶ó..
- Check that the files are unmodified before branching ¿É¼ÇÀ» ÄÒ´Ù.
- OK ¹öưÀ» ¼±ÅÃÇÑ´Ù.
ÀÌÁ¦ ÁöÁ¤ÇÑ À̸§À¸·Î ÀúÀå¼Ò¿¡ ½Å±Ô ºê·£Ä¡°¡ »ý¼ºµÇ¾ú´Ù. ÁÖÀÇ : ºê·£Ä¡´Â ÀúÀå¼Ò³»¿¡¼¸¸ »ý¼ºµÈ´Ù. »õ·Î »ý¼ºµÈ ºê·£Ä¡·Î ÀÛ¾÷À» ½ÃÀÛÇÏ·Á¸é, ´ÙÀ½ ´Ü°è¸¦ Àоµµ·Ï ÇØ¶ó.
14 ÀÛµ¿ÁßÀÎ ºê·£Ä¡ ¼±ÅÃÇϱâ
±âº» °³¹ß¼±´ë½Å¿¡ ºê·£Ä¡»ó¿¡¼ ÀÛ¾÷À» ½ÃÀÛÇÏ·Á¸é, ¿©·¯ºÐÀÇ ÇÁ·ÎÁ§Æ® Áö¿ª º¹»çº»À» ÇØ´ç ºê·£Ä¡¿Í ¹ÙÀεù ÇØ¾ß¸¸ ÇÑ´Ù. À̰ÍÀº update³ª commit°ú °°Àº ¸í·É¶§¹®¿¡ È®½ÇÇÏ°Ô ÁöÁ¤ÀÌ µÇ¾î¾ßÇÑ´Ù. °¡±ÞÀûÀ̸é ÁÖ °³¹ß¼±º¸´Ù´Â ºê·£Ä¡¿¡¼ °³¹ßÇÏ´Â °ÍÀ» ÃßõÇÑ´Ù.
´Ù¸¥ ºê·£Ä¡·Î Áö¿ª º¹»çº»À» ¿Å±â·Á¸é ´ÙÀ½°ú °°ÀÌ ½ÇÇàÇÑ´Ù :
- ÇÁ·ÎÁ§Æ®ÀÇ ÃÖ»óÀ§ µð·ºÅ丮¸¦ ¼±ÅÃÇÑ´Ù. (¸¸¾à µð·ºÅ丮µé°ú ÈÀϵéÀÌ ºê·£Ä¡ÀÇ ÀϺζó´Â °ÍÀ» ¿©·¯ºÐÀÌ ¾Ë°í ÀÖ´Ù¸é, ´ë½Å¿¡ À̰͵éÀ» ¼±ÅÃÇØµµ ¹«¹æÇÏ´Ù.)
- ¿À¸¥ ¹öư ¸Þ´º¸¦ ºÒ·¯¼ Update selection ¸Þ´º¸¦ ¼±ÅÃÇÑ´Ù.
- Create missing directories that exist in the repository ¿É¼ÇÀ» äũÇÑ´Ù.
- Sticky options ÅÇÀ» ¼±ÅÃÇÑ´Ù.
- Retrieve rev./tag/branch äũ¹Ú½º¸¦ ÄÒ´Ù.
- Retrieve rev./tag/branch ÀÔ·ÂÇ׸ñ¿¡¼ º¯°æÇϰíÀÚ ÇÏ´Â ºê·£Ä¡¸íÀ» ³Ö´Â´Ù.
- OK¸¦ ¼±ÅÃÇÑ´Ù.
ÀÌÁ¦ ¿øÇÏ´Â ºê·£Ä¡·Î ¿©·¯ºÐÀÇ ÀÛ¾÷ º¹»çº»ÀÇ ÇÊ¿äÇÑ ¾÷µ¥ÀÌÆ®¿Í À̵¿À» ½ÇÇàÇÒ °ÍÀÌ´Ù. update´Â ÈÀÏÀÇ Ãß°¡¿Í »èÁ¦ÀÛ¾÷À» Æ÷ÇÔÇÑ´Ù.
CVS´Â ºê·£Ä¡¿¡ ÀÇÇØ ¿µÇâ¹ÞÀº ÈÀϵ鿡 sticky Å×±×·Î ¾Ë·ÁÁø °ÍÀ» Àû¿ëÇÑ´Ù. status ¸í·ÉµéÀ» »ç¿ëÇÏ¿© ÀÌ sticky Å×±×µéÀ» ¿¶÷ÇÏ´Â °ÍÀÌ °¡´ÉÇÏ´Ù. sticky Åױ׸¦ Á¦°ÅÇÏ°í ¿ø·¡ÀÇ °³¹ß¼± »óÀ¸·Î º¹±ÍÇÏ´Â °ÍÀº "¸ÞÀÎ °³¹ß¶óÀÎÀ¸·Î º¹±ÍÇϱâ"¸¦ ÂüÁ¶Ç϶ó.
15 ºê·£Ä¡·Î ºÎÅÍ º´ÇÕÇϱâ
ºê·£Ä¡»ó¿¡¼ º¯°æÇÑ ³»¿ëµé¿¡ ¸¸Á·ÇßÀ» °æ¿ì, ¿©·¯ºÐÀº ÀÌ º¯°æ»çÇ×µéÀ» ÁÖ °³¹ß¶óÀο¡ Àû¿ëÇÏ·Á°í ÇÒ ¼ö µµ ÀÖ´Ù. ÇϳªÀÇ ºê·£Ä¡¿¡¼ ´Ù¸¥ ºê·£Ä¡·Î º¯°æ»çÇ×À» ÇÕÄ¡´Â ÀÛ¾÷À» º´ÇÕ(merging)À̶ó°í ÇÑ´Ù. ºê·£Ä¡¸¦ º´ÇÕÇϱâ À§Çؼ ´ÙÀ½À» µû¶óÇØ¶ó.
- º´ÇÕÇÏ·Á´Â ºê·»Ä¡ÀÇ Áö¿ª º¹»çº»À» ÇöÀç ÀÛ¾÷ Áö¿ªº¹»çº»À¸·Î ÁöÁ¤Çضó. "ÀÛµ¿ÁßÀÎ ºê·£Ä¡ ¼±ÅÃÇϱâ"¸¦ ÂüÁ¶Ç϶ó.
- ÇÁ·ÎÁ§Æ®ÀÇ ÃÖ»óÀ§ µð·ºÅ丮¸¦ ¼±ÅÃÇØ¶ó.
- ¿À¸¥ ¹öư ¸Þ´º¸¦ ºÒ·¯¼ Update selection ¸Þ´º¸¦ ¼±ÅÃÇÑ´Ù.
- Create missing directories that exist in the repository ¿É¼ÇÀ» äũÇÑ´Ù.
- Merge options ÅÇÀ» ¼±ÅÃÇ϶ó.
- Only this rev./tag ¶óµð¿À ¹öưÀ» ¼±ÅÃÇ϶ó.
- Only this rev./tag ÀÔ·ÂÇ׸ñ¿¡ º´ÇÕÇÏ±æ ¿øÇÏ´Â ºê·£Ä¡¸íÀ» ³Ö´Â´Ù.
- OK ¹öưÀ» ¼±ÅÃÇÑ´Ù.
ÁöÁ¤ÇÑ ºê·£Ä¡ÀÇ ¸ðµç º¯°æÁ¡µéÀÌ ÀÌÁ¦ Áö¿ª º¹»çº»¿¡ º´ÇյǾú´Ù. ÀÌÁ¦ commitÀ» ¼öÇàÇϸé ÇöÀç ³»¿ëÀÌ ÀúÀå¼Ò¿¡ È®Á¤µÇ°Ô µÈ´Ù.
Áß¿ä ÁÖÀÇ»çÇ× : À§¿¡¼ ¼³¸íÇÑ º´ÇÕ±â´ÉÀº ºê·£Ä¡ÀÇ ½ÃÀÛÀ¸·ÎºÎÅÍ º¯°æÁ¡À» º´ÇÕÇÏ·Á°í ½ÃµµÇÏ°Ô µÈ´Ù. ¸¸¾à µÎ¹øÂ°·Î ÀÌ º´ÇÕ±â´ÉÀ» ¼öÇàÇÏ´Â °ÍÀ̶ó¸é(°¡Àå ÃÖ±Ù º´ÇÕÀÌÈÄÀÇ ºê·£Ä¡»óÀÇ º¯°æÁ¡À» º´ÇÕÇÏ·Á´Â °ÍÀ̶ó¸é) ½ÃÀÛÁ¡ºÎÅÍ º´ÇÕÇϴ ó¸®´Â ¿©·¯ºÐÀÌ ¿øÇÏ´Â °ÍÀÌ ¾Æ´Ò °ÍÀ̰í ÇÁ·ÎÁ§Æ®´Â °ï¶õÇÑ »óÅ¿¡ ºüÁú °ÍÀÌ´Ù. ÀÌ ¹®Á¦¸¦ ÇÇÇϱâ À§Çؼ´Â, ¿©·¯ºÐÀº ¸Å¹ø º´ÇÕ¶§¸¶´Ù »õ·Î¿î Åױ׸íÀ¸·Î ºê·£Ä¡¸¦ ÇÏ´Â °ÍÀÌ ÇÊ¿äÇÏ´Ù.
16 ¸ÞÀÎ °³¹ß ¶óÀÎÀ¸·Î º¹±ÍÇϱâ
ºê·£Ä¡»ó¿¡¼ °³¹ßÇÏ´Â °ÍÀ» ¸ØÃß°í ÁÖ °³¹ß¶óÀÎÀ¸·Î ¿©·¯ºÐÀÇ Áö¿ª º¹»çº»ÀÇ ³»¿ëÀ» º¯°æÇÏ·Á¸é, wincvs·Î ÇÏ¿©±Ý ¸ðµç sticky Åױ׸¦ »èÁ¦Çؾ߸¸ ÇÑ´Ù. sticky Åױ׸¦ Á¦°ÅÇϰí, ÇöÀç Áö¿ªº¹»çº»À» ÁÖ °³¹ß¶óÀÎÀÇ ³»¿ëÀ¸·Î ¹Ù²Ü·Á¸é ´ÙÀ½°ú °°ÀÌ ½ÇÇàÇØ¶ó.
- ÇÁ·ÎÁ§Æ®ÀÇ ÃÖ»óÀ§ µð·ºÅ丮¸¦ ¼±ÅÃÇØ¶ó.
- ¿À¸¥ ¹öư ¸Þ´º¸¦ ºÒ·¯¼ Update selection ¸Þ´º¸¦ ¼±ÅÃÇÑ´Ù.
- Create missing directories that exist in the repository ¿É¼ÇÀ» äũÇÑ´Ù.
- Reset any sticky date/tag/'-k' ¿É¼ÇÀ» äũÇÑ´Ù.
- OK ¹öưÀ» ¼±ÅÃÇÑ´Ù.
wincvs´Â ÀÌÁ¦ Áö¿ª º¹»çº»À» ÇöÀçÀÇ ÁÖ °³¹ß¶óÀÎÀ¸·Î ¸ÂÃß¾î º¯°æÇß´Ù. ¹æ±ÝÀü±îÁö ÀÛ¾÷Çß´ø ºê·£Ä¡´Â ¾ÆÁ÷µµ ÀúÀå¼Ò³»¿¡ ³²¾ÆÀÖÀ¸¸ç, ¾ðÁ¦µçÁö ¿øÇÏ¸é ´Ù½Ã ¼±ÅÃÇÏ¿© ÀÛ¾÷ÇÏ´Â °ÍÀÌ °¡´ÉÇÏ´Ù.
17 ´©°¡ ÈÀÏÀ» ¼öÁ¤Çϰí ÀÖÁö?
It is possible to ask CVS who is currently editing a file, but it only works if the developers announce to CVS when they intend to edit a file. This model is known as the IR CVS model (well, that's actually an internal joke at Computas), and it should be decided at project startup if this model is to be used.
To use the IR CVS model, developers should check out the module read only. It can be done by checking Checkout read-only in the Globals tab of every wincvs dialog.
To edit a file, do the following:
- Select the file you want to edit.
- Click the right mouse button on the selction, and choose the Monitors selection -> Edit selection menu item. (Alternatively, use the shortcut in the toolbar.) The read-only flag will be removed, and the CVS server registers you as an editor of the given file.
- Edit the file.
- Commit the file as described in Sending Your Changes to CVS.
When you commit the file, the CVS server assumes you are no longer editing it, and wincvs will make the file read only again. If you did not make any changes, a commit will not tell the CVS server that your have finished editing it. In that case you should rather do the following:
- Select the file you marked for editing.
- Click the right mouse button on the selction, and choose the Monitors selection -> Unedit selection menu item. (Alternatively, use the shortcut in the toolbar.)
And now, back to the original question: "Who's editing that file?" To list the editor(s) if any of a file, do this:
- Select the file you are curious about.
- Click the right mouse button on the selction, and choose the Monitors selection -> Editors of selection menu item.
wincvs will now list the known editors of the file.
18 ºÎ·Ï A: FAQ
18.1 updateÁß¿¡ º¸ÀÌ´Â Àǹ®ÀÇ ±ÛÀÚµéÀÌ ¹«¾ùÀ» ÀǹÌÇϴ°¡?
CVS ¸Þ´º¾óÀÇ update Ãâ·ÂºÎºÐÀ» Âü°íÇØ¶ó.
18.2 ¼¹öÀÇ ½Ã°¢ÀÌ Æ²·È´Ù! ID ÅÂ±×¿Í ·Î±×µéÀÌ Æ²¸° ½Ã°¢À¸·Î º¸À̰í ÀÖ´Ù!
À̰ÍÀº "±â´É"ÀÌ´Ù. CVS´Â ¾ðÁ¦³ª ·Î±×󸮿¡ UTC¸¦ »ç¿ëÇÑ´Ù.
19 ºÎ·Ï B : CVS¿Í Microsoft Visual Source Safe¿Í ´Ù¸¥ Á¡Àº ¹«¾ùÀΰ¡?
CVS¿Í wincvs´Â Visual Source Safe (VSS)¿Í ¿©·¯°¡Áö ¸é¿¡¼ ´Ù¸£´Ù. °¡Àå ¸í¹éÇÑ Â÷ÀÌÁ¡Àº ÀÛ¾÷ÁßÀÎ ÈÀϵéÀ» Àá±Û Çʿ䰡 ¾ø´Ù´Â °ÍÀ̰í, VSS´Â ±âº»ÀûÀ¸·Î ÀÌ ±â´ÉÀ» ¼öÇàÇÑ´Ù´Â °ÍÀÌ´Ù. »ç½Ç, CVS ¹®¼Á¶Â÷µµ ÈÀÏ Àá±ÝÀ» »ç¿ëÇÏÁö ¸» °ÍÀ» ±ÇÀåÇϰí ÀÖ´Ù. ¸î¸î ÀÛ¾÷ÀÚµéÀÌ µ¿½Ã¿¡ °°Àº ÈÀÏÀ» º¯°æÇÏ´Â ÀÏÀº ¸Å¿ì µå¹® °æ¿ìÀ̱⠶§¹®¿¡, CVS´Â ÀϹÝÀûÀÎ ¹æ¹ýÀ¸·Î À̵éÀÇ º¯°æÁ¡µéÀ» º´ÇÕÇÑ´Ù. ¸¸¾à µÑ ÀÌ»óÀÇ ÀÛ¾÷ÀÚµéÀÌ °°Àº ¸î ¶óÀÎÀÇ °°Àº ¼Ò½ººÎºÐÀ» ¼öÁ¤Çß´Ù¸é, CVS´Â Ãæµ¹(conflict)À» º¸°íÇÒ °ÍÀ̰í, ÈÀϳ»¿¡ ±× À§Ä¡¸¦ Ãß°¡ÇÒ °ÍÀ̸ç, ±× ºÎºÐ¿¡ ´ëÇÑ °áÁ¤À» ÀÛ¾÷ÀÚµéÀÇ ¸òÀ¸·Î µ¹¸®°Ô µÈ´Ù. ÀÌ·± Ãæµ¹Àº ¸Å¿ì µå¹®ÀÏÀ̸ç, ÁÖ·Î °³¹ßÀÚµéÀÇ ´ëȺÎÁ·À¸·Î ÀϾ´Â °ÍÀÌ º¸ÅëÀÌ´Ù. (¿¹¸¦ µé¸é, µÎ °³¹ßÀÚ°¡ °°Àº ¹ö±×¸¦ °íÄ¡°í ÀÖ´Â °æ¿ì¸¦ µé ¼ö ÀÖ´Ù).
¶Ç´Ù¸¥ Áß¿äÇÑ Â÷ÀÌÁ¡Àº VSS´Â ÇÁ·ÎÁ§Æ®¸¦ ¼¹öÀÇ °üÁ¡¿¡¼ º¸¸ç, cvs´Â Ŭ¶óÀÌ¾ðÆ® °üÁ¡¿¡¼ º»´Ù´Â Á¡ÀÌ´Ù. ½ÇÀü¿¡¼ À̰ÍÀº VSS¿Í´Â ´Þ¸®, wincvs´Â update¸¦ Çϰųª ÁöÁ¤ÇÑ ÈÀϵ鿡 ´ëÇÑ È®½ÇÇÑ ÁúÀǸ¦ ÇÏÁö ¾ÊÀ¸¸é ÀúÀå¼ÒÀÇ º¯°æ»çÇ×À» ¾Ë·ÁÁÖÁö ¾Ê´Â´Ù´Â °ÍÀÌ´Ù. wincvs³»¿¡ º¸°íµÈ º¯°æ»çÇ×Àº °¡Àå ÃÖ±Ù¿¡ checkout, update, commitÀ» ÇßÀ» °æ¿ì¿¡¸¸ ¿©·¯ºÐÀÌ ¼öÇàÇÑ º¯°æÁ¡µéÀ» ¹Ý¿µÇÑ´Ù.
CVS´Â VSSó·³ "ºñÁê¾ó"ÇÏÁö ¾Ê´Ù. wincvs¸¦ »ç¿ëÇϸé, CVS°¡ Áö³ ¸î³âµ¿¾È Ä¿¸Çµå ¶óÀÎ ±â¹ÝÀÇ ÇÁ·Î±×·¥À̾ú°í wincvs´Â ±×°ÍÀ» »ç¿ëÇϱ⠽±°Ô Æ÷ÀåÇÑ °Í¿¡ Áö³ªÁö ¾Ê´Ù´Â °ÍÀÌ ¾ÆÁÖ ¸í¹éÈ÷ µå·¯³´Ù. ¿ì¸®µé ÁßÀÇ ¸î¸îÀº °æÇèÀûÀ¸·Î ¼÷·ÃµÈ »ç¿ëÀÚµéÀÌ ¼±È£ÇÏ´Â ¹æ½ÄÀÎ wincvsÀÇ ÀÌ·± ´Ü¼øÇÑ Á¢±ÙÀ» ¼±È£Çϸç, ¸î¸îÀº ¾ÆÁÖ ½È¾îÇÑ´Ù. ¿©·¯ºÐÀÌ ½È¾îÇÏ´Â ÂÊ¿¡ ¼ÓÇÑ´Ù¸é, ÀÌ ÇÁ·Î±×·¥À» °³¼±Çغ¸°í ¿©·¯ºÐÀÇ º¯°æÁ¡À» ¸ðµÎ¿¡°Ô ¹èÆ÷Çϱ⠹ٶõ´Ù.
|