Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Repo Repo // Git repository we are working on Url string // SVN URL to work from Verbose bool Metadata bool // include metadata in git logs (git-svn-id) NoMinimizeUrl bool // accept URLs as-is without attempting to connect a higher level directory RootIsTrunk bool // use this if the root level of the repo is equivalent to the trunk and there are no tags or branches Rebase bool // instead of cloning a new project, rebase an existing one against SVN UserName string // username for transports that needs it (http(s), svn) Trunk string // subpath to trunk from repository URL Branches string // subpath to branches from repository URL Tags string // subpath to tags from repository URL Exclude string // regular expression to filter paths when fetching Revision string // start importing from SVN revision START_REV; optionally end at END_REV. e.g. START_REV:END_REV NoTrunk bool // do not import anything from trunk NoBranches bool // do not import anything from branches NoTags bool // do not import anything from tags Authors string // path to file containing svn-to-git authors mapping }
func NewContext ¶
func NewContextFrom ¶
Click to show internal directories.
Click to hide internal directories.