Dataset
Subversion repository history datasets for AI training
A Subversion dataset is the history held in one company's Apache Subversion repositories: every numbered revision of the tree, its log message, author and date, the changed paths with their copy sources, and the versioned properties, including svn:mergeinfo and svn:externals, that record merges and outside dependencies. SourceX sources it to a buyer's spec from established businesses that run Subversion, often for long-lived codebases that never moved to Git. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Every revision of a centralized repository with its log message, changed paths, copy sources and versioned properties, across trunk, branches and tags
- Typical systems
- Apache Subversion served by svnserve or Apache httpd, on FSFS or older Berkeley DB repositories, with TortoiseSVN or command-line clients; hook scripts and authz files where in scope
- Typical history
- Specified by the buyer; often the whole life of a product, since revisions cannot be rewritten without a dump and reload, with early history sometimes imported from CVS
- Modality
- Source code and other files per revision, with structured revision, changed-path and property metadata
- Delivery formats
- Agreed per order; a filtered dump file, or files per revision with JSONL built from svn log --xml --verbose output and property values
- Preparation
- Usernames replaced consistently in revision properties, log messages and file text; every revision scanned for credentials; vendor branches and externals mapped to ownership and removed or flagged
- Licensing
- Scoped per repository, path and revision range; permitted use agreed per license
- Availability
- Sourced to your spec; scope depends on what the owner holds rights to, and supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| repository_uuid | string | Pseudonym for the Repository's UUID from the Dump file header. |
| revision | integer | The Revision number, which counts every commit to the Repository on any path. |
| author | string | Pseudonym for the svn:author Revision property, usually a bare username with no email address. |
| date | string | The svn:date Revision property, set at commit and editable later where a hook allows. |
| log_message | string | The Log message from the svn:log Revision property as it stands; edits are not versioned. |
| lines | array | Trunk, branch or tag names the Revision touched, derived from the Repository's layout convention. |
| changed_paths | array | Each Changed path with its action (A, M, D or R), node kind, and whether text or properties changed. |
| copy_from | object | On an added path, the copyfrom path and revision, which is how a Branch (copy), a Tag (copy) and a rename are recorded. |
| mergeinfo_change | array | What the Revision changed in svn:mergeinfo on a path: the source path and the revision ranges added. |
| externals | array | svn:externals definitions set or changed in the Revision: local folder, target URL and any pinned revision. |
| versioned_props | object | Other Versioned property changes, such as svn:keywords, svn:eol-style, svn:mime-type, svn:executable and svn:ignore. |
| files | array | Content of each changed file after the Revision, with its Dump file checksum. |
| issue_refs | array | Ticket IDs parsed from the Log message, using the bugtraq:logregex property where the team set one. |
| screening | object | Preparation flags: vendor branch paths, outside externals and the secret-scan result. |
Field names from the table above; values are masked placeholders.
Example record
{
"repository_uuid": "repo_6f2a",
"revision": 18452,
"author": "user_91c3",
"date": "2014-09-03T13:27:44.118204Z",
"log_message": "Merged r18440 from trunk: fix rounding in tariff proration when the billing period crosses a rate change. Refs #3391.",
"lines": [
"billing/branches/release-4.2"
],
"changed_paths": [
{
"path": "/billing/branches/release-4.2",
"action": "M",
"kind": "dir",
"text_mods": false,
"prop_mods": true
},
{
"path": "/billing/branches/release-4.2/src/proration/TariffSplit.pas",
"action": "M",
"kind": "file",
"text_mods": true,
"prop_mods": false
}
],
"copy_from": null,
"mergeinfo_change": [
{
"path": "/billing/branches/release-4.2",
"source": "/billing/trunk",
"added": "18440",
"mergeinfo_after": "/billing/trunk:17902-18011,18207,18440"
}
],
"externals": [],
"versioned_props": {},
"files": [
{
"path": "/billing/branches/release-4.2/src/proration/TariffSplit.pas",
"bytes": 14822,
"sha1": "5d1c0a9e7b3f42c68e0d91a4b7c2f3508e6a1d94",
"svn_eol_style": "native",
"svn_keywords": "Id Revision"
}
],
"issue_refs": [
"3391"
],
"screening": {
"vendor_branch_path": false,
"externals_to_outside_servers": 0,
"secret_scan": "clean"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train on long-lived legacy code
Years of revisions in languages that are thin in public repositories, each with its log message.
Learn backport and cherry-pick decisions
svn:mergeinfo changes name which trunk revisions were carried to a release branch, and by omission which were left behind.
Build repository-scale tasks
Check out the tree at one revision, take the next log message as the task and its diff as the reference change.
Plan and check migrations to Git
A dump with its layout, externals and merge records is ground truth for agents that convert or audit a repository.
Evaluate release reasoning
Tag copies record the exact path and revision a release was cut from, giving checkable questions about what shipped.
Use-case guides: Coding agents, Private evaluation sets, Enterprise and computer-use agents
What makes this data valuable
A dump, not a checkout
Produced from the server's history with every revision, not from a working copy.
Properties intact
svn:mergeinfo, svn:externals and the other versioned properties are present on the paths that had them.
Layout documented
The owner states where trunk, branches and tags sit for each project, and where the convention was broken.
Copy sources preserved
Branch, tag and renamed paths carry their copyfrom path and revision.
Log messages with substance
Messages are written sentences with ticket numbers, not one-word notes.
Vendor code mapped
Vendor branches, bundled libraries and externals are listed by path with who owns each.
Record timeline
Subversion dataset
One revision number covers the tree, and a branch is a path
Subversion versions one filesystem tree, not a set of projects. Every commit anywhere in the repository creates the next revision number, and that number names the whole tree at that moment. Several products in one repository share the counter. Directories are versioned in their own right: they have history, carry properties and can be empty. A revision is a set of changed paths, each added, modified, deleted or replaced, and one revision can touch trunk and two branches at once.
There is no branch object. A branch is a directory copied to another path with svn copy, recorded as an added path with a copyfrom path and revision. A tag is the same operation with a different destination. The folders named trunk, branches and tags are a habit the server knows nothing about: layouts differ by repository, and only a hook script or a path permission stops someone committing to a tag. A rename is stored as a copy plus a delete. Which line a change belongs to comes from the owner's layout rule, and copyfrom is the only trace of where each line began.
A merge is an ordinary commit with a single predecessor. The record that it was a merge is the svn:mergeinfo property on the target path, listing each source path and the revision ranges brought over. Because it lists revisions, a cherry-picked fix shows up as one revision number, provenance that Git keeps only when the committer writes it into the message. History from before merge tracking, or from teams that merged by hand, has only a log message. Author, date and log message are revision properties and are not versioned, so where a hook allowed edits the earlier text is gone, and a repository converted from CVS may carry out-of-order dates and commits manufactured by the conversion tool.
What svnadmin dump keeps and a Git conversion drops
The complete, portable form of a repository is the dump file that svnadmin dump writes on the server: a stream of revision records, each with its revision properties, then node records naming a path, its kind, the action, any copy source, the property values and the file content with checksums. It does not hold what sits in the repository directory outside the versioned tree: hook scripts, the authz file of path permissions, server configuration and locks. Ask for the hooks, because they often enforced log message formats and sent the commit emails where any review happened. Subversion itself has no pull requests, review comments or approvals.
A common offer is not a dump but a Git repository converted years ago. A conversion follows the layout convention to turn copies into Git branches and tags. It commonly drops svn:mergeinfo or guesses merges from it, drops svn:externals and empty directories, and loses file properties such as svn:keywords and svn:eol-style. A revision that touched several branches becomes several commits, and authors, which Subversion stores as bare usernames, get names and emails from a hand-typed authors file.
Cutting one project out of a shared repository with svndumpfilter breaks where a kept path was copied from an excluded one. Nothing committed can be removed without a dump, filter and reload, so a password committed early and deleted the next day is still there, as are vendor branches and bundled libraries the owner may not be able to license. Externals point at other repositories, sometimes on another organization's server, and one with no pinned revision means old trees cannot be rebuilt as they were. To test a sample, load it into a scratch repository and run svnadmin verify, check that a release tag shows its copyfrom, list every externals target, and search all revisions for keys.
What to check before licensing
- Have the data owner and your counsel check the license of the Subversion distribution in use, and the terms of any hosting or server package vendor, on exported data and API use.
- Ask the owner to map paths to ownership, and check the licenses on vendor branches, bundled libraries and other old third-party code.
- Confirm the delivery is a repository dump, made with svnadmin dump on the server or svnrdump remotely, not a working copy, an export of trunk or a Git conversion alone.
- Check that credentials were scanned in every revision, since a secret committed early and deleted later is still in history.
- Ask for the layout rule of each project, the merge practice in each period, and which periods have svn:mergeinfo at all.
- List every svn:externals target, and confirm that targets on other organizations' servers are excluded or separately licensed.
- Verify usernames are pseudonymized in svn:author, in log messages and in keyword lines and comments inside files, and ask whether log messages or dates were ever edited.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Can a Subversion repository be delivered as Git?
Yes, with losses you should agree in advance. A conversion maps copies under the branches and tags folders to Git branches and tags. It commonly drops svn:mergeinfo, svn:externals, empty directories and file properties, and splits revisions that touched several branches. If merge provenance or dependency pins matter, ask for the dump file as well.
Does the dataset include code review or pull requests?
No, because Subversion has none. The system stores revisions, log messages and properties, and every commit goes straight into the shared history. Teams that reviewed code did it in a separate tool, over commit emails sent by a hook script, or in person. Ask the owner what was used, and treat those records as a second source.
How do I tell branches and tags from ordinary folders?
By the owner's path convention, since the server does not mark them. A branch or tag is a directory created by copy, so its first revision carries a copyfrom path and revision. Most repositories use trunk, branches and tags folders, but exceptions are common. Ask for the layout rule in writing and check it against the copy records.
How reliable are merge records in Subversion history?
They are useful where they exist and absent where they do not. The svn:mergeinfo property lists the source path and revision ranges merged into a branch, including single cherry-picked revisions. A record-only merge writes that property without changing a file, and a merge run on a subfolder leaves mergeinfo there, not on the branch root. Older history shows only a log message. Ask the owner which periods used merge tracking.
What about third-party code and old credentials in the tree?
Both are likely in a long-lived repository and both need checking. Vendor branches, bundled libraries and SDKs are often committed beside the owner's code, and the owner may not hold the right to license them. Passwords and keys committed years ago remain in old revisions even if deleted since, because history cannot be edited in place. Ask for the ownership map and a scan of all revisions.
Is SourceX affiliated with the Apache Software Foundation?
Apache Subversion is named to identify the system the records come from. That does not imply a partnership with or endorsement by the Apache Software Foundation. The records belong to the business that runs Apache Subversion, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Proprietary codebases with full history
Complete private repositories with full version history, build files, tests and docs
- Legacy and rare-language codebases
Private production code in under-represented languages, with copybooks, job control, data definitions and change history
- Software engineering histories (issues, PRs, reviews)
Issues linked to commits, pull requests, code review, CI runs, deploys and incidents
- Perforce depot and changelist histories
Depot file revisions, submitted changelists and integration records, with text and binary assets versioned side by side
- Gerrit code review histories
Changes from private Gerrit projects with all patch sets, inline comments, change messages, label votes, reviewers and submit or abandon outcomes
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.