Editing Mercurial Repository

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 9: Line 9:
 
* [https://confluence.atlassian.com/display/BITBUCKET/Bitbucket+Documentation+Home BitBucket Documentation Home] - Contains information on how to use Mercurial together with BitBucket
 
* [https://confluence.atlassian.com/display/BITBUCKET/Bitbucket+Documentation+Home BitBucket Documentation Home] - Contains information on how to use Mercurial together with BitBucket
  
 +
 +
Allacrost hosts our online mercurial repositories on BitBucket. For developers, there are three repositories you will work with.
 +
# Your '''local''' repository on your development machine. You directly work with this repository and make commits here using <tt>hg commit</tt>
 +
# Your '''personal''' repository online at BitBucket. You upload the commits you made to your local repository with <tt>hg push</tt>. The URL for your page depends on your BitBucket username. For example, user 'rootslinux' has their personal repository at: https://bitbucket.org/rootslinux/allacrost
 +
# The '''central''' repository online at BitBucket. You merge changes in your personal repository here by submitting a pull request on the central repository's home page. The URL for this page is: https://bitbucket.org/allacrost/allacrost
  
 
== Getting Started ==
 
== Getting Started ==
Line 25: Line 30:
 
* 4. Create a personal user branch
 
* 4. Create a personal user branch
 
The main repository will not accept any changes made directly to the default branch. Before you start making any changes, create a personal branch for yourself to hold all of your changes. Whatever alias you've chosen to use with this project should be what your branch is named, in all lower-case characters. For example, if your user name on the forums, Discord, etc is "Roots" create a branch named <tt>user/roots</tt> and make all of your changes there. You can make a new branch from the default by running the command <tt>hg checkout {your branch name here}</tt>.
 
The main repository will not accept any changes made directly to the default branch. Before you start making any changes, create a personal branch for yourself to hold all of your changes. Whatever alias you've chosen to use with this project should be what your branch is named, in all lower-case characters. For example, if your user name on the forums, Discord, etc is "Roots" create a branch named <tt>user/roots</tt> and make all of your changes there. You can make a new branch from the default by running the command <tt>hg checkout {your branch name here}</tt>.
βˆ’
 
  
 
=== Using a forked repository ===
 
=== Using a forked repository ===

Please note that all contributions to Hero of Allacrost Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Hero of Allacrost Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)