Services/Sync/Getting Started: Difference between revisions

Jump to navigation Jump to search
Line 1: Line 1:
= Getting started with Sync development =
= Getting started with Sync development =


== Configure Mercurial ==
== Using Mercurial ==


Put the following in your ~/.hgrc:
Mozilla's development process is very much patch driven. [[Mercurial Patch Queues|https://developer.mozilla.org/en/Mercurial_queues]], although a bit awkward to use at times, fit this process rather well. It is recommended you familiarize yourself with them and use them.
 
=== Configuration ===
 
Marco Bonardo has some [[general purpose tips|http://blog.bonardo.net/2010/06/22/so-youre-about-to-use-checkin-needed]] for Mozilla developers on how to format patches before uploading them to Bugzilla.
 
Essentially it is recommended you put the following in your ~/.hgrc:


   [ui]
   [ui]
Line 10: Line 16:
   [extensions]
   [extensions]
   hgext.mq =  
   hgext.mq =  
 
 
   [diff]
   [diff]
   git = 1
   git = 1
   unified = 8
   unified = 8
 
 
   [defaults]
   [defaults]
   diff = -pU8
   diff = -pU8
Line 20: Line 26:
   qnew = -U
   qnew = -U
   qseries = -sv
   qseries = -sv
You can also add the following to ~/.hg/hgrc:
  [paths]
  default = http://hg.mozilla.org/services/
  default-push = ssh://hg.mozilla.org/services/


== Repositories ==
== Repositories ==
canmove, Confirmed users
725

edits

Navigation menu