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

Re: [OT] Re: VSS to SVN migration script

From: Nathan Kidd <nathan_at_hummingbird.com>
Date: 2004-05-20 22:00:49 CEST

Toby Johnson wrote:
>> +# Types of ss history output lines for a file object's data:
>> +#-----------------------------------------------------------
>> +
>> +#***** FileName.ext ***** ; first line
>> +#Version 229 ; revision number

> What I
> don't understand, though, is the lines with the filename embedded within
> the asterisks. Do you get this sort of output when viewing the history
> on only one file at a time (which is what my script does)? I had only
> ever seen the *version number* in the asterisks line.

All that info was from a directory's perspective. When doing history on
a directory you still get info about the files in it. When doing a
single file's history I get the same results as you.

BTW, I believe your file-based approach is better. Getting the current
directory layout from an SS dir, and then populating with the history of
current files is much easier than trying to retrace through the
directory's history.

> It would still probably help if I could see the entire output from a "ss
> HISTORY" command of a single file which has file labels, inherited
> parent directory labels, branches, and whatever else is possible. It
> helps to see not only what can be output, but the order I can expect
> them to appear in.

I think you'll find the order and syntax the same as what I documented,
except for the difference in the first couple lines. But don't just
look at the things I listed for "file object's data". The "output lines
for a directory" don't only talk about directories; they include the
history of *files* in the directory. The division is there only because
of parsing difference in the first few lines, not because one is about
directories and the other files.

-Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 20 22:01:11 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.