| java.lang.Object tide.exttools.SVN.SVNOps
SVNOps | final public class SVNOps (Code) | | Todo: support comments... (write them, show them...) (maybe when shift pressed ?)
TODO: http://www.ibm.com/developerworks/java/library/j-svnbins.html
|
Method Summary | |
static void | addCredentialsIfAny(List<String> args) | static String | addNotRecurse(File fileOrFolder) | static void | addRecurse(File fileOrFolder) | static void | cleanup(File fileOrFolder) it searches your working copy and runs any leftover logs, removing working copy locks in the process. | static void | commit(File fileOrFolder, String commitComment) | public static JMenu | create_SourcesTreePopupMenu(SourceFile sf) | static void | delete(File fileOrFolder) | public static File | getSVNTool(String name) | static void | info(File fileOrFolder) info: Display information about a local or remote item.
usage: info [TARGET[@REV]...]
Print information about each TARGET (default: '.')
TARGET may be either a working-copy path or URL. | public static boolean | isConfigured() | static void | lock(File file, boolean enforce, String message) lock: Lock working copy paths or URLs in the repository, so that
no other user can commit changes to them. | static void | log(File fileOrFolder, boolean verbose) | static void | revert(File file) (Automatically recurse if directory given)
revert: Restore pristine working copy file (undo most local edits).
usage: revert PATH...
Note: this subcommand does not require network access, and resolves
any conflicted states. | static void | status(File fileOrFolder, boolean verbose) | static void | unlock(File file, boolean enforce) unlock: Unlock working copy paths or URLs. | static void | update(File fileOrFolder) update=> recovers deleted, changed files. |
addNotRecurse | static String addNotRecurse(File fileOrFolder) throws Exception(Code) | | Seems that add must be called on each directory, it doesn't recurse itself
MUST BE COMMITED
|
cleanup | static void cleanup(File fileOrFolder) throws Exception(Code) | | it searches your working copy and runs any leftover logs, removing working copy locks in the process.
If Subversion ever tells you that some part of your working copy is “locked”, then this is the command that you should run.
|
commit | static void commit(File fileOrFolder, String commitComment) throws Exception(Code) | | Calls add and commit
seems that add must be called on each directory, it doesn't recurse itself
|
delete | static void delete(File fileOrFolder) throws Exception(Code) | | ?? Seems that add must be called on each directory, it doesn't recurse itself
MUST BE COMMITED to be deleted on server but this already deletes the local copy
|
info | static void info(File fileOrFolder) throws Exception(Code) | | info: Display information about a local or remote item.
usage: info [TARGET[@REV]...]
Print information about each TARGET (default: '.')
TARGET may be either a working-copy path or URL. If specified, REV
determines in which revision the target is first looked up.
Valid options:
-r [--revision] arg : ARG (some commands also take ARG1:ARG2 range)
A revision argument can be one of:
NUMBER revision number
'{' DATE '}' revision at start of the date
'HEAD' latest in repository
'BASE' base rev of item's working copy
'COMMITTED' last commit at or before BASE
'PREV' revision just before COMMITTED
-R [--recursive] : descend recursively
--targets arg : pass contents of file ARG as additional args
--incremental : give output suitable for concatenation
--xml : output in XML
--username arg : specify a username ARG
--password arg : specify a password ARG
--no-auth-cache : do not cache authentication tokens
--non-interactive : do no interactive prompting
--config-dir arg : read user configuration files from directory ARG
|
isConfigured | public static boolean isConfigured()(Code) | | Paths must exist and be non empty !
|
lock | static void lock(File file, boolean enforce, String message) throws Exception(Code) | | lock: Lock working copy paths or URLs in the repository, so that
no other user can commit changes to them.
usage: lock TARGET...
Use --force to steal the lock from another user or working copy.
Valid options:
--targets arg : pass contents of file ARG as additional args
-m [--message] arg : specify lock comment ARG
-F [--file] arg : read lock comment from file ARG
--force-log : force validity of log message source
--encoding arg : treat value as being in charset encoding ARG
--username arg : specify a username ARG
--password arg : specify a password ARG
--no-auth-cache : do not cache authentication tokens
--non-interactive : do no interactive prompting
--config-dir arg : read user configuration files from directory ARG
--force : force operation to run
|
revert | static void revert(File file) throws Exception(Code) | | (Automatically recurse if directory given)
revert: Restore pristine working copy file (undo most local edits).
usage: revert PATH...
Note: this subcommand does not require network access, and resolves
any conflicted states. However, it does not restore removed directories.
Valid options:
--targets arg : pass contents of file ARG as additional args
-R [--recursive] : descend recursively
-q [--quiet] : print as little as possible
--config-dir arg : read user configuration files from directory ARG
|
unlock | static void unlock(File file, boolean enforce) throws Exception(Code) | | unlock: Unlock working copy paths or URLs.
usage: unlock TARGET...
Use --force to break the lock.
Valid options:
--targets arg : pass contents of file ARG as additional args
--username arg : specify a username ARG
--password arg : specify a password ARG
--no-auth-cache : do not cache authentication tokens
--non-interactive : do no interactive prompting
--config-dir arg : read user configuration files from directory ARG
--force : force operation to run
|
update | static void update(File fileOrFolder) throws Exception(Code) | | update=> recovers deleted, changed files.
|
|
|