using subversion

Michael Schuster michaelsprivate at gmail.com
Wed May 6 04:45:05 UTC 2020


Hi Robert,

svn doesn't care why you want to revert (in my experience, anyway).
For completeness' sake, let me add that you should not do "svn rm", just
"svn revert - - depth=infinity FOO/BAR"
should do the trick.

HTH
Michael


On Wed, May 6, 2020, 02:16 Robert Huff <roberthuff at rcn.com> wrote:

>
> Michael Schuster writes:
>
> >   >              Scenario:
> >   >              I have a directory, FOO, which is the root for an svn
> tree.
> >   >              Under FOO is (directory) BAR.
> >   >              I want to delete - as in completely remove from both
> disk and the
> >   >      svn records - BAR (and subordinate content).
> >   >              Then I want to get a pristine copy of BAR (and
> subordinate
> >   >      content) from the repository.
> >   >              Is this the correct process:
> >   >
> >   >      root> cd FOO
> >   >      root> svn rm BAR
> >   >      root> svn co BAR
> >   >
> >   >              ?  (And if not: what is?)
> >
> >   >  I think "svn revert" is what you are looking for...
>
>         Additional information:
>         There have been no deliberate changes in BAR; the contents of
> the (sub-)tree seem to have been corrupted and I want to wipe things
> out and start over from the same point as FOO.
>         Does that change the answer?
>
>
>                         Respectfully,
>
>
>                                 Robert Huff
>
>


More information about the freebsd-questions mailing list