[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SV: Revision graph - shows nothing but one deleted item

From: Tomas Vadfors <Tomas.Vadfors_at_olsbergs.se>
Date: Fri, 8 Jan 2016 09:40:57 +0000

Thank you for the quick response!

I think I will perform my seven step solution, but I am curious if there
is any explanation for the strange revision graph in the screenshot
"02_RevisionGraph-Source.png". Please note that that revision graph is
taken before I performed my seven steps. What had been done in the repo
before taking the screenshots was:

1. Deleting all previous work, creating and adding a new "Source"
   folder, commit. (rev. 421, over a year ago)
2. Adding new project files under the Source folder, commit. (rev. 422)

3. A lot of work, including many commits both on trunk and on branches
   from the "new" Source folder.
4. Also a couple of merges from branches, back to the Source folder on
5. After all this, with HEAD on trunk at rev. 797, the revision graph
   looks like the attached screenshot "02_RevisionGraph-Source.png".

My colleague, who has performed most of the work in this repository,
informs me that the revision graph has looked like this for a long time.
He worked around the problem by looking at the revision graphs from the
two subfolders "Sources" or "Headers" instead. Even when taking the
revision graph from a branch from the Source folder, the graph is the
same (just rev 421 in red).

Maybe some information can be extracted from the repository to help
understand why the graph looks like that.

> If you want to do a proper "replace" in the future, leave out step 3 in
> your example above: after 'svn rm', add the folder and do 'svn add' and
> *then* commit that.
> And if you want to keep the history: don't delete the folder but copy
> the files over the old ones and then commit.

Yes, exactly! I think what you refer to as a proper "replace" was what I did
in revision 421 back in 2014. In my seven steps, however, I intentionally
committed the deleted Source folder to get rid of the history, since the
history was not shown correctly in the revision graph. I have not actually
done the seven steps yet in the real repository, I just tried them on a
complete repo copy.

> > We're using:
> > TortoiseSVN 1.7.12, Build 24070 - 64 Bit Subversion 1.7.9
> Yikes!
> Please update.

Absolutely. I recently talked to our system admin about this and we'll
soon be running the most recent stable server and client versions. :)



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2016-01-08 12:27:17 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.