ArneBachmann / sos

Subversion Offline Solution

Home Page:https://sos-vcs.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add operation to commit branches to underlying VCSs

ArneBachmann opened this issue · comments

Perform simple add - commit - (and even push) operation.
But we don't want to wrap all VCSs semantics like switching etc., probably only simplify to "clean"/"undirty"/"sync" a branch to the underlying VCSs and clean the SOS branch.

We assume all kinds of VCSs have already been initialized and user setup performed (e.g. key creation, user name defined, branch created etc.), and try to avoid any kind of interactivity

Git: add <files> commit -m <message> (+push)
Fossil: add <files> commit -m <message> --no-warnings (but will be tracked afterwards)
Svn: add <files> commit -m (but will be tracked afterwards)
bzr: add <files> commit (<files>) -m <message> (but will be tracked afterwards; need to have se a name: bzr whoami <name>)
cvs: Seems difficult to set up the repo in the first place...
darcs: add <files> record --all -m <message>
monotone: add <files> commit -m <message (but needs a passphrase)
hg: add <files> commit -m <message> (but will be tracked afterwards)

Interactive add:
y/n, ignore extension in folder/all (sub-)folders, accept extension in folder/all (sub)-folders

Need to differentiate between pre- and post message options?