Name

svk cleanup — Remove stale locks left behind by an aborted svk sync of a mirror.

Synopsis

svk cleanup [PATH...]

Description

If, for some reason, an svk commit fails due to a network problem or otherwise. You can run this command to remove the lock left behind.

Alternate Names

None

Changes

Lock file in working copy metadata

Accesses Depot

Only the lockfile

Accesses Mirrored Repository

No

Switches

--all (-a)

Examples

Well, there's not much to the examples here as svk cleanup generates no output. If you pass no PATH, “.” is used.

$ svk commit
# Do a kill -9 of svk in a different shell window
$ svk update
/Users/sally/mine already locked, use 'svk cleanup' if lock is stalled
$ svk cleanup
Cleaned up stalled lock on /Users/sally/mine.