McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics

McXtrace

Project Status
 Project Partners
 Project People
 Goal

Installation
 Mac OSX Installation
 Windows Installation

Mailing List

Links

Publications

Minutes of Meetings

McXtrace Art

About McXtrace

Documentation
 Commands
 Tutorial

Download
 Components

Search


McXtraceDevel - McXtraceWiki

McXtraceDevel

From McXtraceWiki

Jump to: navigation, search

The McXtrace code repository is run using a subversion server[1]. Since the codebase is highly related the repository is shared with our sister project McStas.

Units

We try to use SI-units as much as possible, unless we have a fair reason not to do so. examples of the units that we try to stick to are:

  • Wavelength: Å (AA) Ångström
  • Wavenumber: 1/Å (1/AA)
  • Energy: keV

SVN command line survival guide

Some useful svn commands

Most important of all:

svn help command

which will display helpful information about command

svn checkout https://svn.mccode.org/svn/McCode/trunk .

to get a working copy of the current development branch in your working directory

svn add filename.c

schedules addition of filename.c to the code tree. Please note that unless you commit your change this is a local addition.

svn commit filename.c

pushes changes (if any) of the file filename.c to the repository. If filename.c is not specified, svn pushes all edits found in the current working directory and recursively below.

A complete online book covering the ins and outs of svn can be found here: [2]. Read that for in depth knowledge about svn.

GIT-SVN

You might prefer to use git-svn for lightweight branches etc. If you do not know what that is - you don't want to use git-svn. If you do, this is is a good place to start



Last Modified: Friday, 23-Jun-2017 13:33:21 CEST
Search website mailinglist archive SVN repos McCode Trac