Project Management

For this week assignment we have two important tasks:

We are going to use mercurial for managing and storing our documents and for tracking our progress also.

The Mercurial program is named hg. Every Mercurial command starts with hg, followed by the command name, and by any relevant options and arguments.

The following links are very useful at the beginnig for understanding the fundamentals of the system

And then for troubleshooting:

For the installation we used the tutorial, by Toshiro Tabushi from FabLab Lima. This is a very easy to follow step by step guide. The main steps are:

The following pictures shows: the first one, the commands for repository clonning (at left) and how is the structure in a windows view.

The second shows the edition of the hgrc file or mercurial configuration file and also a view of te edited file with wordpad at left.

 


 

Some mercurial commands:

To start and clone

Daily use

Maintenance

hg init (start archive) hg pull (pull from archive) hg log (history)
hg clone (copy archive) hg update (update file system, alias up) hg remove (remove versioned file alias rm)
hg clone -e "ssh_path -i ~/.ssh/key_name" ssh://[email protected]/archive_name local_archive_name hg add (add files) hg remove --after (remove deleted files from versioning)
 

hg merge (merge diverged versions)

hg status (repository status, alias st)
  hg commit -m "message" (alias ci)

hg rollback (roll back the last transaction)

  hg push (push to archive)

hg help (with no arguments print a list of commands)

The archive history

The hg log command gives us a view of the history of changes in the repository.

As we can see in the figure at left, the archive was created by Neil on Sun Jan 22 and one day after Alex and Anna made transactions on it. If you want to know what happened and when in the archive, you can retreive it.

Final comments

This assignment is the cornerstone for success in our work