HTTPS clone URL

Subversion checkout URL

Home

Pages 1

Clone this wiki locally

Note

John Goerzen is no longer maintaining this software. You are welcome to fork and maintain a branch for yourself!

Welcome to vcs-load-dirs

vcs-load-dirs is a tool to automate and simplify the loading of software into version control systems. It is designed primarily for importing from a non-version-controlled upstream, such as processing release tarballs.

While a bit of scripting can help some version control systems achieve a basic version of this, vcs-load-dirs often does better than that, especially concerning renames.

vcs-load-dirs is a Free Software project licensed under the GNU General Public License. You can download it for free, and you can modify it. In fact, you are encouraged to contribute to vcs-load-dirs, and doing so is fast and easy.

vcs-load-dirs is written in pure Python and has been known to work on various versions of Linux and BSD. It was written primarily in response to Subversion’s svn_load_dirs, which was tied to Subversion’s internals and not portable to other VCSs.

Downloads and Development

Features

When a given import directory represents only adds or only deletes from the tree in version control, vcs-load-dirs automatically issues the needed add/delete commands to tell the VCS what happened.

When an import directory represents both adds or deletes, vcs-load-dirs realizes that, rather than a bunch of discrete adds and deletes, there may be files that were renamed. It enters an interactive mode, showing deleted and added files, and lets you match them up if you believe any were renamed. You can optionally skip this step if you don’t want your VCS to track the renames. vcs-load-dirs will inform your VCS about renames, adds, and deletes.