* Here is how to create a patch using svn. Everything in square brackets is optional. If you provide no additional arguements, then a diff file would be made of all the changes you have done since the last commit/update.

Revision as of 14:18, 19 October 2006

This FAQ is meant to provide a place for you to capture knowledge as you begin working on Mozilla development. When someone answers a question for you, consider adding it below. Create new topic headings as necessary.

SVN

What is SVN?

Subversion (or SVN for short) is a revision control system that is used to track changes to a project's file repository. SVN tracks changes to the repository made by each project collaborator. SVN tracks changes and can be used to analyze differences and undo changes at a later time if needed. This allows for greater collaboration and speed , while minimizing (though never completely elimintating) risks associated with duplication and overwriting each others work. Project contents need not be limited to source code files.

To update the sandbox located on your local machine to the same version on the repository, type:

svn update

To view all the changes (commits) made on a svn repository, type:

svn log

It is very important that you type useful messages when committing code.

How do i resolve a conflicted file?

svn resolved <filename>

Here is how to create a patch using svn. Everything in square brackets is optional. If you provide no additional arguements, then a diff file would be made of all the changes you have done since the last commit/update.

svn diff [-r from[:to]] [filename|directory] > mypatch.patch

Terminology

VMWare

What is a VM appliance?

A VM appliance is pre-configured, pre-packaged image of an operating system or environment. This allows you to simply download these appliances and not have to worry about downloading iso images and burning CD's etc. to install an OS. VM appliances are opened with the VMPlayer.

Why is there a shortage/absence of appliances for Microsoft Operating Systems in the directory?

Appliances can be created for Microsoft operating systems just they can be created for the the various other operating systems (e.g. Ubuntu, Fedora etc.) using VMWare Workstation. However, licensing restrictions remain the only factor limiting the availabilty of MS operating systems.

Is there a way to create your own virtual machines (appliances) using only the VMWare Player?

The easiest method to create VM appliances is using VM Server or Workstation edition. However, Mike Shaver was able to locate a hack for this. There is even a free third party wizard applicaton that can help you create your on VM's to run on the VM Player.