Download List

Project Description

CVS, GIT, and Mercurial as well as other well-known version control systems cannot version directories. In other words, you cannot add empty directories. A "workaround" for this issue is to use placeholder files that are placed into empty directories. These placeholder files can then be committed into the repository and will make sure that, upon checkout, the directory tree is entirely reconstructed. The problem with using placeholder files is that you need to create them, and need to delete them if they are not necessary anymore (because sub-directories or real files were added). With big source trees, managing these placeholder files can be cumbersome and error prone. MarkEmptyDirs can manage the creation/deletion of such placeholder files automatically. It creates placeholder files in all empty "leaf" directories. If later on new files or directories are put into such directories, the placeholder files are not necessary anymore, and are removed automatically.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2010-10-09 12:19
1.7

This version has a new '--purge' command line option that deletes everything within directories containing placeholders, except the placeholder files themselves. Additionally, the help text now is formatted dynamically according to the console's windows size.
Tags: Stable, cli

2010-02-16 18:03
1.6.1

This version fixes an issue with symbolic links that point to directories, which are also reachable by not following symbolic links. A minor performance optimization was made.
Tags: Stable, cli

2010-02-06 01:02
1.6

This release adds a new commandline option "--follow-symlinks", which
decides whether MarkEmptyDirs follows symbolic links to directories
(currently, symbolic links are only supported on Unix filesystems). It
fixes directory trees with symlinks not being processed properly and an
issue with case-insensitive filesystems and placeholder filenames.
Tags: Stable, cli

2009-08-19 06:18
1.5

This version adds three new template variables: a 'placeholder' variable, a 'dir' variable, and a 'separator' variable. It adds two new '--create-hook' and '--delete-hook' options, allowing you to hook in scripts to be executed on placeholder creation/deletion. Directory scanning performance, error handling, and help message output are also improved. For simplicity, the '--dry' alias for the '--dry-run' option has been abandoned. A bug is also fixed: the set of default excluded directories now contains 'CVS' instead of '.cvs'.
Tags: Stable, cli

2009-08-07 19:16
1.4

A new command line option was added that allows you to switch variable substitution within placeholder files on or off. Placeholder files now are created with the system's default encoding (instead of ASCII encoding). Several unit tests were added for quality assurance. Some minor improvements regarding error handling were added.
Tags: Stable, cli

Project Resources