Mihai
Mihai

Reputation: 2865

SVN - how to view the revision tree?

Say that our SVN repository is at revision 400, and I implement a new feature and commit it as r401.

My colleague doesn't like it, reverts back to r400 and implements the feature more efficiently, then commits it as r402.

Is there a tool that will show us both r401 and r402 as nodes on a tree, stemming from r400?

Upvotes: 2

Views: 2807

Answers (2)

Sander Rijken
Sander Rijken

Reputation: 21615

This use case cannot be graphed, because r402 will always be based off r401 (given that no other commits are made to other files ofcourse). To revert r401, your colleague would reverse merge r401, and commit that as r402.

A graph would look like:

r400 -> r401 -> r402

Upvotes: 1

CloudyMarble
CloudyMarble

Reputation: 37566

Do you mean the Revision graph

In the case you described when your colleague revert they dont revert the repository but their working copy, as soon as they commit they will produce another transaction in the log which shows you then the changes from 400 to 401 and then from 401 to 402.

Upvotes: 2

Related Questions