Re: How to recover deleted directory in repository?

2011-10-08 Thread Geoff Hoffman
On Sat, Oct 8, 2011 at 8:38 PM, Xiang Liu  wrote:

> Hi, everybody
>
> I have removed a directory by mistake.
>
> > svn del https://pl3.projectlocker.com/gnwd/notes/svn/a_dir
>
> So, How can I recover it?
>
> Thanks.
> xiang
>

Xiang-

What I would do is pick a new location on your machine and export the parent
directory of where your directory used to be (the svn dir above?) and force
the revision number of the repository to be what it was, when a_dir used to
exist. If your repo is at -r 10 now but the folder existed at -r 9, do
something like:

#> cd /other/dir
#> svn export https://pl3.projectlocker.com/gnwd/notes/svn -r 9 svn
Exported revision 9

now you will have a new svn folder at /other/dir/svn, you can then copy the
a_dir inside there back to your working copy and commit it back to the
repository

cp svn/a_dir /path/to/workingcopy/gnwd/notes/svn/

now if you cd to your working copy dir and do a svn status, you can see
these a_dir files are just a new unversioned directory

#> cd /path/to/workingcopy/gnwd/notes/svn
#> svn add a_dir
A foo.c
A bar.c
etc
#> svn commit -m "Restored a_dir"
Committed revision 11.

Hope that helps -


Re: 1.7 neon fetched by get-deps.sh, but not usable by configure?

2011-10-08 Thread Jeremy Whitlock
Hello all,
I can confirm that Neon use to be built automatically by
Subversion without specifying --with-neon if the Neon sources were
within the Subversion sources directory.  As of 1.7.0, this is no
longer the case and I am now having to manually build/install Neon and
then use the --with-neon configure flag.  It's not a big deal but I
too was surprised by this.

-- 
Take care,

Jeremy Whitlock
http://www.thoughtspark.org


How to recover deleted directory in repository?

2011-10-08 Thread Xiang Liu
Hi, everybody

I have removed a directory by mistake. 

> svn del https://pl3.projectlocker.com/gnwd/notes/svn/a_dir

So, How can I recover it?

Thanks.
xiang


Re: Using SSL

2011-10-08 Thread Nico Kadel-Garcia
On Fri, Oct 7, 2011 at 10:56 AM, Diego de Oliveira Fucitalo
 wrote:
> Hi,
>
>
>
> I try use SSL in SVN, I set up successfully the SSL in apache, but when I
> update or commit the code I get the error:
>
>
>
> "Error validating server certificate for https://server.googlecode.com:443:
> - Unknown certificate issuer
> Fingerprint: b1:3a:d5:38:56:27:52:9f:ba:6c:70:1e:a9:ab:4a:1a:8b:da:ff:ec
> Distinguished name: Security Dept, TrustSign Certificadora Digital, BR"

The complex answer involves teaching each client enviornment to accept
that unsigned certificate.

The cheaper in painful individual configuration time, simpler answer
is to buy a signed certificatate or a site certificatae.
www.godaddy.com sells them pretty cheaply, and the time wasted on
"just click accept" operations evaporates.


svn relocate on 1.7.0-rc4 doesn't work on subdirectories anymore?

2011-10-08 Thread christian.asmussen
Hi,

On subversion 1.6 I am able to:

svn sw -relocate FROM_URL TO_URL WC/subdir

 

When I try this on 1.7.0-rc4 I get an error E155019:

svn: E155019: Cannot relocate 'WC/subdir' as it is not the root of a
working copy; try relocating 'WC' instead.

 

I noticed that the "-relocate" option has been deprecated by "svn
relocate" and from the documentation it changes the url of "the working
copy".

 

Is there a plan to support relocating subdirectories or is this feature
"gone"?

 

Thanks for any help!

Christian Asmussen

 

 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.

 
UBS reserves the right to retain all messages. Messages are protected
and accessed only in legally justified cases.

Re: Fwd: How do I setup multisite environment with Visualsvn

2011-10-08 Thread Thorsten Schöning
Guten Tag suhas malusare,
am Samstag, 8. Oktober 2011 um 06:30 schrieben Sie:

> *http://www.slideshare.net/normanmaurer/apacheconeusvnreplication

How does your config of the slave look like? The important thing is
SVNMasterURI, you can't really commit to the slave, the slave must
forward the commit to your master. That's what is shown on page 16 of
your link.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoen...@am-soft.de
Web: http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow