SlideShare une entreprise Scribd logo
1  sur  34
Hg Init – Mercurial tutorial by TortoiseHg Setting up for a Team
Setting up for a Team % cmd:hg initCentralRepo 내용과 맞추기 위해 해제했으나 기본으로 선택한다. CentralRepo 폴더
Setting up for a Team Joel’s recipes % cmd:hg clone CentralRepoJoel_recipes Joel’s recipes 폴더
Setting up for a Team Joel’s recipes % cmd:hg add / hg commit Add, commit Joel’s recipes 폴더
Setting up for a Team Joel’s recipes % cmd:hg status View File Status 차이점
Setting up for a Team Joel’s recipes % cmd:hg diff guac file diff tool
Setting up for a Team Joel’s recipes % cmd:hg com –m “Change crunch to smoosh” Commit % cmd:hg log Workbench
Setting up for a Team Joel’s recipes CentralRepo Joel’s recipes
Setting up for a Team Joel’s recipes % cmd:hg push 1. Joel’s recipes 3. 2. 변경 내용을 보낼 주소 선택
Setting up for a Team Joel’s recipes CentralRepo Joel’s recipes
Setting up for a Team Rose’s recipes % cmd:hg clone CentralRepoRose_recipes Rose’s recipes 폴더
Setting up for a Team Rose’s recipes % cmd:hg diff View File Status Beyond Compare 3 Pro Visual Diff
Setting up for a Team Rose’s recipes % cmd:hg com –m “spicier kind of chile” Commit % cmd:hg log
Setting up for a Team Joel’s recipes % cmd:hg com –m “potato chips. No one can eat just one.” Commit % cmd:hg log
Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
Setting up for a Team Rose’s recipes % cmd:hg outgoing / hg push 1.outgoing 보낼 변경 내용 2.push 변경 내용을 보낼 주소 선택
Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
Setting up for a Team Joel’s recipes % cmd:hg outgoing / hg push 1.outgoing 보낼 변경 내용 2.push 변경 내용을 보낼 주소 선택
Setting up for a Team Joel’s recipes Failure!
Setting up for a Team Joel’s recipes Detailed log Failure!
Setting up for a Team Joel’s recipes % cmd:hg incoming / hg pull 1.incoming 가져올 변경 내용 2.pull 변경 내용을 가져올 주소 선택
Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
Setting up for a Team Joel’s recipes % cmd: type guac Joel’s guac
Setting up for a Team Joel’s recipes % cmd:hg cat –r 3 guac Rose’s guac
Setting up for a Team Joel’s recipes % cmd:hg merge 병합 기준으로 삼을 리비전으로 갱신 (현재 작업 영역은 rev2) 병합할 리비전 선택
Setting up for a Team Joel’s recipes 2.resolve 1.merge
Setting up for a Team Joel’s recipes Mercurial Resolve : mercurial에서 병합 처리 Tool Resolve : 툴로 병합 처리 Take Local : Local 변경 내용 사용 Take Other : Other 변경 내용 사용 Mark as Resolved : 충돌 해결한 것으로 표시 Resolve 대기 파일 병합/비교에 사용할 툴 지정 default & Tool Resolve 하면 Mercurial에서 병합 처리
Setting up for a Team Joel’s recipes Edit File : 파일 편집 3-Way Diff : base, local, other 비교 확인 Diff to Local : Local 변경 내용과 비교 확인 Diff to Other : Other 변경 내용과 비교 확인 Mark as Unresolved : 충돌 해결안 된 것으로 표시 Resolve 완료 파일 완료
Setting up for a Team Joel’s recipes % cmd:hg commit –m “merge” 작업 영역 상태 커밋메시지
Setting up for a Team Joel’s recipes % cmd:hg out / hg push 1.outgoing 보낼 변경 내용 2.push 변경 내용을 보낼 주소 선택
Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
Setting up for a Team Rose’s recipes % cmd:hg pull 1.pull % cmd:type guac 현재 작업 리비전 % cmd:hg log % cmd:hg parent
Setting up for a Team Rose’s recipes % cmd:hg up
Setting up for a Team Rose’s recipes % cmd:type guac

Contenu connexe

Similaire à 2. hg init – a mercurial tutorial by tortoies hg setting up for a team (6)

VersionEEring
VersionEEringVersionEEring
VersionEEring
 
Cooking Perl with Chef: Real World Tutorial with Jitterbug
Cooking Perl with Chef: Real World Tutorial with JitterbugCooking Perl with Chef: Real World Tutorial with Jitterbug
Cooking Perl with Chef: Real World Tutorial with Jitterbug
 
Cooking environments with chef
Cooking environments with chefCooking environments with chef
Cooking environments with chef
 
create_patch_file_v3a.pdf
create_patch_file_v3a.pdfcreate_patch_file_v3a.pdf
create_patch_file_v3a.pdf
 
Taking your module from Drupal 6 to Drupal 7
Taking your module from Drupal 6 to Drupal 7Taking your module from Drupal 6 to Drupal 7
Taking your module from Drupal 6 to Drupal 7
 
DrupalCafe5 VCS
DrupalCafe5 VCSDrupalCafe5 VCS
DrupalCafe5 VCS
 

Dernier

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 

2. hg init – a mercurial tutorial by tortoies hg setting up for a team

  • 1. Hg Init – Mercurial tutorial by TortoiseHg Setting up for a Team
  • 2. Setting up for a Team % cmd:hg initCentralRepo 내용과 맞추기 위해 해제했으나 기본으로 선택한다. CentralRepo 폴더
  • 3. Setting up for a Team Joel’s recipes % cmd:hg clone CentralRepoJoel_recipes Joel’s recipes 폴더
  • 4. Setting up for a Team Joel’s recipes % cmd:hg add / hg commit Add, commit Joel’s recipes 폴더
  • 5. Setting up for a Team Joel’s recipes % cmd:hg status View File Status 차이점
  • 6. Setting up for a Team Joel’s recipes % cmd:hg diff guac file diff tool
  • 7. Setting up for a Team Joel’s recipes % cmd:hg com –m “Change crunch to smoosh” Commit % cmd:hg log Workbench
  • 8. Setting up for a Team Joel’s recipes CentralRepo Joel’s recipes
  • 9. Setting up for a Team Joel’s recipes % cmd:hg push 1. Joel’s recipes 3. 2. 변경 내용을 보낼 주소 선택
  • 10. Setting up for a Team Joel’s recipes CentralRepo Joel’s recipes
  • 11. Setting up for a Team Rose’s recipes % cmd:hg clone CentralRepoRose_recipes Rose’s recipes 폴더
  • 12. Setting up for a Team Rose’s recipes % cmd:hg diff View File Status Beyond Compare 3 Pro Visual Diff
  • 13. Setting up for a Team Rose’s recipes % cmd:hg com –m “spicier kind of chile” Commit % cmd:hg log
  • 14. Setting up for a Team Joel’s recipes % cmd:hg com –m “potato chips. No one can eat just one.” Commit % cmd:hg log
  • 15. Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
  • 16. Setting up for a Team Rose’s recipes % cmd:hg outgoing / hg push 1.outgoing 보낼 변경 내용 2.push 변경 내용을 보낼 주소 선택
  • 17. Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
  • 18. Setting up for a Team Joel’s recipes % cmd:hg outgoing / hg push 1.outgoing 보낼 변경 내용 2.push 변경 내용을 보낼 주소 선택
  • 19. Setting up for a Team Joel’s recipes Failure!
  • 20. Setting up for a Team Joel’s recipes Detailed log Failure!
  • 21. Setting up for a Team Joel’s recipes % cmd:hg incoming / hg pull 1.incoming 가져올 변경 내용 2.pull 변경 내용을 가져올 주소 선택
  • 22. Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
  • 23. Setting up for a Team Joel’s recipes % cmd: type guac Joel’s guac
  • 24. Setting up for a Team Joel’s recipes % cmd:hg cat –r 3 guac Rose’s guac
  • 25. Setting up for a Team Joel’s recipes % cmd:hg merge 병합 기준으로 삼을 리비전으로 갱신 (현재 작업 영역은 rev2) 병합할 리비전 선택
  • 26. Setting up for a Team Joel’s recipes 2.resolve 1.merge
  • 27. Setting up for a Team Joel’s recipes Mercurial Resolve : mercurial에서 병합 처리 Tool Resolve : 툴로 병합 처리 Take Local : Local 변경 내용 사용 Take Other : Other 변경 내용 사용 Mark as Resolved : 충돌 해결한 것으로 표시 Resolve 대기 파일 병합/비교에 사용할 툴 지정 default & Tool Resolve 하면 Mercurial에서 병합 처리
  • 28. Setting up for a Team Joel’s recipes Edit File : 파일 편집 3-Way Diff : base, local, other 비교 확인 Diff to Local : Local 변경 내용과 비교 확인 Diff to Other : Other 변경 내용과 비교 확인 Mark as Unresolved : 충돌 해결안 된 것으로 표시 Resolve 완료 파일 완료
  • 29. Setting up for a Team Joel’s recipes % cmd:hg commit –m “merge” 작업 영역 상태 커밋메시지
  • 30. Setting up for a Team Joel’s recipes % cmd:hg out / hg push 1.outgoing 보낼 변경 내용 2.push 변경 내용을 보낼 주소 선택
  • 31. Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
  • 32. Setting up for a Team Rose’s recipes % cmd:hg pull 1.pull % cmd:type guac 현재 작업 리비전 % cmd:hg log % cmd:hg parent
  • 33. Setting up for a Team Rose’s recipes % cmd:hg up
  • 34. Setting up for a Team Rose’s recipes % cmd:type guac