wiki:SourceCode
Last modified 5 years ago Last modified on 2012-01-17 23:29:56

If you want to download an official release of ftputil, please go to the Download page.


Direct links: Trac Browser Interface | Mercurial Web Interface

Source Code

Browse the code online

There's a web interface to browse the source code directly on this site.

Source repository

The following instructions are mainly for developers and contributors to ftputil.

Get the latest source code

If you would like to follow the development of ftputil (that is, get the in-development code from the source code repository) you need to install Mercurial.

After that, get the code with

hg clone http://hg.sschwarzer.net/ftputil my-ftputil-repo

where my-ftputil-repo is the name of the directory which is to contain the local repository. This directory must not exist.

This will make the directory my-ftputil-repo and print something like

requesting all changes
adding changesets
adding manifests
adding file changes
added 288 changesets with 380 changes to 49 files
38 files updated, 0 files merged, 0 files removed, 0 files unresolved

Note that you'll get an in-development version which may be completely unusable, though it normally is quite safe to use.

Updating your working directory

If you later want to update your repository copy, change to the my-ftputil-repo directory and type

hg pull --update

This will get all the changes since your initial checkout (or your last update). For more on working with Mercurial, see the tutorial or the book.

Old vs. new revisions

As the source repository was migrated from Subversion to Mercurial on 2010-01-25, old revisions found in the ticket system are no longer valid. There's a table relating old and new revisions at SubversionVsMercurialRevisions.