On Mittwoch, 27. Juni 2007 Worley, Chris B wrote:
> >> I'd also think that "fsvs status [-r rev[:rev2]]" would show you
> >> which files had changed between any two revisions (list file names only,
> >> not diffs).
> >Hmmm.... there's no equivalent in svn, but I can see the use.
> How hard would this be? Maybe I could volunteer.
For changes between two revisions it's not really much work - just tell the ra
layer that you're at revision rev1, and want to go to rev2.
Using the cb__record_changes() function that should be about half a day or so.
That would be "fsvs show-changes", or "fsvs repos-changes" or something like
that.
But what should happen for a single revision? Show which entries are changed
against the working copy? Then we'd have to compare the local files with the
repository revision (as a local file might be modified against its last
committed revision, but identical to the repository version) - at least via
the MD5 sums.
That's surely possible, too ... but we'd need to define what it should really
do.
Is it just some kind of remote-status?
fsvs remote-status PATH [-r rev]
This command looks into the repository and tells you which files would
get changed on an update - it's a dry-run for update .
Per default it compares to HEAD, but you can choose another revision
with the -r parameter.
> >Well, that would have been "fsvs log", which is planned to simply spawn
> >off a "svn log" with the right parameters.
> >
> >Sorry, not yet. Use "svn log", please.
> >Would you like to post a patch?
> That worked well. I'll look into the patch (sounds trivial).
The thing that possibly would have to be done, too, is to extend the
hlp__parse_rev() function to allow for relative values, too - like LAST.
Although, as long as that's not needed, just call "svn log".
Regards,
Phil
--
Versioning your /etc, /home or even your whole installation?
Try fsvs (fsvs.tigris.org)!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]