5. hg init – a mercurial tutorial by tortoise hg repository architecture

1,930 views

Published on

5. Hg Init – a Mercurial tutorial by TortoiseHg - Repository Architecture
관련글: http://surpreem.com/archives/45

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,930
On SlideShare
0
From Embeds
0
Number of Embeds
367
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

5. hg init – a mercurial tutorial by tortoise hg repository architecture

  1. 1. Hg Init – Mercurial tutorial<br />by TortoiseHg<br />Repository Architecture<br />
  2. 2. Repository Architecture<br />Joel’s recipes<br />% cmd:hg log<br />changeset number<br />
  3. 3. Repository Architecture<br />Joel’s Repository<br />Rose’s Repository<br />
  4. 4. Repository Architecture<br />Joel’s recipes<br />% cmd:hg tag Version-1.0<br />% cmd:hg log<br />
  5. 5. Repository Architecture<br />Joel’s recipes<br />
  6. 6. Repository Architecture<br />Joel’s recipes<br />% cmd:hg com –m “more avocado flavor”<br />% cmd:hg diff<br />
  7. 7. Repository Architecture<br />Joel’s recipes<br />% cmd:hg up –r Version-1.0<br />
  8. 8. Repository Architecture<br />Joel’s recipes<br />% cmd:type guac<br />Manifest<br />
  9. 9. Repository Architecture<br />Joel’s recipes<br />
  10. 10. Repository Architecture<br />Joel’s recipes<br />% cmd:hg com –m “less salt”<br />% cmd:hg diff<br />
  11. 11. Repository Architecture<br />Joel’s recipes<br />head<br />Tag<br />
  12. 12. Repository Architecture<br />Joel’s recipes<br />% cmd:hg tag -r . Version-1.1<br />% cmd:hg log<br />
  13. 13. Repository Architecture<br />Joel’s recipes<br />% cmd:hg up –r 15<br />
  14. 14. Repository Architecture<br />Joel’s recipes<br />% cmd:type guac<br />Manifest<br />
  15. 15. Repository Architecture<br />Joel’s recipes<br />% cmd:hg merge<br />
  16. 16. Repository Architecture<br />Joel’s recipes<br />
  17. 17. Repository Architecture<br />Joel’s recipes<br />
  18. 18. Repository Architecture<br />Joel’s recipes<br />Beyond Compare 3 Pro<br />
  19. 19. Repository Architecture<br />Joel’s recipes<br />
  20. 20. Repository Architecture<br />Joel’s recipes<br />% cmd:hg com –m “bringing in salt fix from 1.1”<br />% cmd:hg diff guac<br />
  21. 21. Repository Architecture<br />Joel’s recipes-stable<br />% cmd:hg clone -r 14 Joel_recipesJoel_recipes-stable<br />% cmd:hg log<br />
  22. 22. Repository Architecture<br />Joel’s recipes-dev<br />% cmd:hg clone Joel_recipes-stable Joel_recipes-dev<br />
  23. 23. Repository Architecture<br />Stable Repository<br />Dev Repository<br />
  24. 24. Repository Architecture<br />Joel’s recipes-dev<br />
  25. 25. Repository Architecture<br />Joel’s recipes-dev<br />% cmd:hg com –m “more avocado flavor”<br />% cmd:hg diff<br />
  26. 26. Repository Architecture<br />Joel’s recipes-stable<br />
  27. 27. Repository Architecture<br />Joel’s recipes-stable<br />% cmd:hg com –m “less salt”<br />% cmd:hg diff<br />
  28. 28. Repository Architecture<br />Joel’s recipes-stable<br />% cmd:hg tag Version-1.1<br />
  29. 29. Repository Architecture<br />Joel’s recipes-dev<br />% cmd:hg in & hg pull<br />1. incoming<br />2. pull<br />
  30. 30. Repository Architecture<br />Joel’s recipes-dev<br />% cmd:hg merge<br />
  31. 31. Repository Architecture<br />Joel’s recipes-dev<br />Beyond Compare 3 Pro<br />
  32. 32. Repository Architecture<br />Joel’s recipes-dev<br />% cmd:hg com –m “merge”<br />
  33. 33. Repository Architecture<br />Joel’s recipes-dev<br />% cmd:type guac<br />
  34. 34. Repository Architecture<br />Stable Repository<br />pull<br />Dev Repository<br />

×