Mailing List Archive

OT: restoring directory with svk
I accidentally deleted a directory (my 2008 directory in the
Advent Calendar), and now I can't get it back by syncing with
svk. How do I fix this?:

---
phoenix~/Catalyst/trunk/examples/CatalystAdvent/root $ ls
2005 2006 2007 day.tt favicon.ico notes static wrapper.tt year.tt
phoenix~/Catalyst/trunk/examples/CatalystAdvent/root $ svk up -s
Syncing http://dev.catalystframework.org/repos/Catalyst
Retrieving log information from 8861 to 8865
Committed revision 8862 from revision 8861.
Committed revision 8863 from revision 8862.
Committed revision 8864 from revision 8863.
Committed revision 8865 from revision 8864.
Committed revision 8866 from revision 8865.
Syncing //mirror/Catalyst/trunk/examples/CatalystAdvent/root(/mirror/Catalyst/trunk/examples/CatalystAdvent/root) in /home/jester/Catalyst/trunk/examples/CatalystAdvent/root to 8866.
2008 - skipped
2008/13.pod - skipped
phoenix~/Catalyst/trunk/examples/CatalystAdvent/root
---

Thanks.

Jester

_______________________________________________
Catalyst-dev mailing list
Catalyst-dev@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
Re: OT: restoring directory with svk [ In reply to ]
On 13 Dec 2008, at 22:45, Jesse Sheidlower wrote:

>
> I accidentally deleted a directory (my 2008 directory in the
> Advent Calendar), and now I can't get it back by syncing with
> svk. How do I fix this?:
>
> ---
> phoenix~/Catalyst/trunk/examples/CatalystAdvent/root $ ls
> 2005 2006 2007 day.tt favicon.ico notes static wrapper.tt
> year.tt
> phoenix~/Catalyst/trunk/examples/CatalystAdvent/root $ svk up -s
> Syncing http://dev.catalystframework.org/repos/Catalyst
> Retrieving log information from 8861 to 8865
> Committed revision 8862 from revision 8861.
> Committed revision 8863 from revision 8862.
> Committed revision 8864 from revision 8863.
> Committed revision 8865 from revision 8864.
> Committed revision 8866 from revision 8865.
> Syncing //mirror/Catalyst/trunk/examples/CatalystAdvent/root(/mirror/
> Catalyst/trunk/examples/CatalystAdvent/root) in /home/jester/
> Catalyst/trunk/examples/CatalystAdvent/root to 8866.
> 2008 - skipped
> 2008/13.pod - skipped
> phoenix~/Catalyst/trunk/examples/CatalystAdvent/root
> ---

svk revert -R 2008

_______________________________________________
Catalyst-dev mailing list
Catalyst-dev@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
Re: OT: restoring directory with svk [ In reply to ]
* On Sat, Dec 13 2008, Ash Berlin wrote:
> svk revert -R 2008

Won't svk still push the delete in that case? I think you are supposed
to copy the last known-good part of your local branch to a new local
branch, then push that one back to the repository.

--
print just => another => perl => hacker => if $,=$"

_______________________________________________
Catalyst-dev mailing list
Catalyst-dev@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
Re: OT: restoring directory with svk [ In reply to ]
On 14 Dec 2008, at 12:47, Jonathan Rockway wrote:

> * On Sat, Dec 13 2008, Ash Berlin wrote:
>> svk revert -R 2008
>
> Won't svk still push the delete in that case? I think you are
> supposed
> to copy the last known-good part of your local branch to a new local
> branch, then push that one back to the repository.
>

Depends if you actually commit the delete or not? If you did and its
not on live that means you are using a //local/ mirror? in which case
probably delete that //local and re-copy it

-ash


_______________________________________________
Catalyst-dev mailing list
Catalyst-dev@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev