2012-03-23 21:01:13 |
Eike |
description |
The configuration file is a complex piece of text. It should be put under revision control.
Command "init" should crate a Bazaar repository in the project directory, and commit the configuration file to it.
Changed configuration files should be committed when the repositories were synchronized successfully. |
The configuration file is a complex piece of text. It should be put under revision control.
Command "init" should create a Bazaar repository in the project directory, and commit the configuration file to it.
Changed configuration files should be committed when the repositories were synchronized successfully.
Create new structure for VCS commands:
{{{
VcsCommands = namedtuple("VcsCommands", "init_cmd, commit_cmd")
}}}
The configuration file would contain code like this:
{{{
vcs_commands = VcsCommands(
init_cmd = """
bzr init
bzr add syncer_config.py sync-data.pickle
"""
commit_cmd = """bzr commit -m "{msg}" """
)
}}} |
|