Upsource as Repository Browser
Whether you're using a modern DVCS or maintaining legacy repositories, we've got you covered: Upsource allows you to browse repositories based on Git, Mercurial (Hg), Subversion (SVN) and/or Perforce (P4).
With Upsource as a repository browser, you can:
- Keep track of revisions
- Examine code changes in detail
- Explore any revision of your code base
- Learn the history of specific files
- Analyze repository activity
Keep track of revisions
First and foremost, Upsource lists recent changes in your repository.
Commit message, author, timestamp and commit ID are instantly visible for each commit, as are quick links to a diff view and a link that lets you explore your project state as of a particular revision.
The list of commits is accompanied by a commit graph that helps visualize the history of commits, branches and merges in your repository.
You can search in commit history using various criteria such as commit message, commit ID, author, branch, time span, file name or path. Filter out the commit graph to focus on most relevant parts, by searching for a specific author, commit message, file name or VCS branch.
Examine any change in detail
From the list of commits, you can navigate to a specific revision to see what was changed, how it was changed, and possibly discuss the reasons behind the change with the contributing developer or your team.
In the revision view, you can see the list of changed files, as well as an inline diff view showing modified sections of each changed file in revision, all on a single page.
From there, you may want to open a side-by-side diff view to display the current revision of each changed file along with the previous revision. On a Java project, the side-by-side diff view will show you code inspections in both revisions of the file.
Explore your code base
You can easily explore your code base as of any revision, current or prior, without the hassle of checking out.
When viewing an old revision, Upsource tries to fetch info on future changes and highlight them where possible.
You can search for a certain file in any revision, making use of lowerCamelHumps. For example, to find HttpContentEncoding.cs, simply enter hce in the Go to Symbol field.
If you're working with a Java project, Upsource can find not only files but even specific classes or methods, both in the source code and in connected libraries.
Full-text search in a revision, with optional file name filtering, is also available.
Learn the history of specific files
Whenever you need to know how a file has evolved, use the History view to display the list of revisions that have affected the file, links to diff views for these revisions, as well as links to code reviews that were conducted on these revisions.
Another historical view called Annotate displays line-level references to developers and revisions that have most recently affected specific lines of code in a file. (Similar views are called "Blame" in other tools.)
Analyze repository activity
Upsource provides a number of reports for a bird's-eye view of what's going on in your project.
For example, you can get an overview of how commit activity is distributed over time, or who is usually contributing to which Java modules.
A code review report is also available, showing how many revisions were covered with code reviews, or how many open and closed reviews you have in your project.
Upsource is also a code review tool. Learn how you can use Upsource to review, discuss and share code.