Can ay one help me on pysvn , i want to capture the log and status ofcheckout call .....

M

Mark Lawrence

To repeat what I've said recently on the tutor mailing list, sorry but
if you want us to do your work you'll have to send a suitably sized
cheque to the PSF, where the size refers to the amount written in words
and numbers and not the physical dimensions.

--
Roses are red,
Violets are blue,
Most poems rhyme,
But this one doesn't.

Mark Lawrence
 
B

bab mis

Here is the code i am trying:



2 from pysvn import wc_status_kind
3 import pysvn
4
import os, os.path
6 import re
7
8 def createSVNClient():
9 """Create a pysvn client, and setup some callback and options.
10 """
11
12 def login(*args):
13 return True, 'root', 'pass', False
16
17 client = pysvn.Client()
18 client.set_interactive(True)
19 client.callback_get_login = login
20 return client
21
22 client = createSVNClient()

23 link = "http://demo.com/svn/trunk"
24 path = '/tmp/ux'
25 client.exception_style = 1
26
27 try:
28 revision = client.checkout(link, path, recurse=True)





primary intention is

revision = client.checkout(link, path, recurse=True)

After this how can i check the exit code and capture the specific log that would have generated during this transaction of svn co command internally.
 
J

Joel Goldstick

Here is the code i am trying:



2 from pysvn import wc_status_kind
3 import pysvn
4
import os, os.path
6 import re
7
8 def createSVNClient():
9 """Create a pysvn client, and setup some callback and options.
10 """
11
12 def login(*args):
13 return True, 'root', 'pass', False
16
17 client = pysvn.Client()
18 client.set_interactive(True)
19 client.callback_get_login = login
20 return client
21
22 client = createSVNClient()

23 link = "http://demo.com/svn/trunk"
24 path = '/tmp/ux'
25 client.exception_style = 1
26
27 try:
28 revision = client.checkout(link, path, recurse=True)





primary intention is

revision = client.checkout(link, path, recurse=True)

After this how can i check the exit code and capture the specific log that would have generated during this transaction of svn co command internally.

have you checked the pysvn mailing list:
http://pysvn.tigris.org/ds/viewForums.do
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,054
Latest member
LucyCarper

Latest Threads

Top