Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #56469 > unrolled thread
| Started by | bab mis <babmis307@gmail.com> |
|---|---|
| First post | 2013-10-08 23:09 -0700 |
| Last post | 2013-10-09 09:02 -0400 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.lang.python
Can ay one help me on pysvn , i want to capture the log and status of checkout call ..... bab mis <babmis307@gmail.com> - 2013-10-08 23:09 -0700
Re: Can ay one help me on pysvn , i want to capture the log and status of checkout call ..... Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-09 07:23 +0100
Re: Can ay one help me on pysvn , i want to capture the log and status of checkout call ..... bab mis <babmis307@gmail.com> - 2013-10-09 02:53 -0700
Re: Can ay one help me on pysvn , i want to capture the log and status of checkout call ..... Joel Goldstick <joel.goldstick@gmail.com> - 2013-10-09 09:02 -0400
| From | bab mis <babmis307@gmail.com> |
|---|---|
| Date | 2013-10-08 23:09 -0700 |
| Subject | Can ay one help me on pysvn , i want to capture the log and status of checkout call ..... |
| Message-ID | <b4190816-df5b-4be8-a2eb-f6f5736c56dc@googlegroups.com> |
[toc] | [next] | [standalone]
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2013-10-09 07:23 +0100 |
| Message-ID | <mailman.887.1381299830.18130.python-list@python.org> |
| In reply to | #56469 |
On 09/10/2013 07:09, bab mis wrote: > 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
[toc] | [prev] | [next] | [standalone]
| From | bab mis <babmis307@gmail.com> |
|---|---|
| Date | 2013-10-09 02:53 -0700 |
| Message-ID | <7dd26e84-88df-4b4f-829b-f14a9819d5ce@googlegroups.com> |
| In reply to | #56469 |
On Wednesday, October 9, 2013 11:39:04 AM UTC+5:30, bab mis wrote:
>
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.
[toc] | [prev] | [next] | [standalone]
| From | Joel Goldstick <joel.goldstick@gmail.com> |
|---|---|
| Date | 2013-10-09 09:02 -0400 |
| Message-ID | <mailman.893.1381323737.18130.python-list@python.org> |
| In reply to | #56481 |
On Wed, Oct 9, 2013 at 5:53 AM, bab mis <babmis307@gmail.com> wrote: > On Wednesday, October 9, 2013 11:39:04 AM UTC+5:30, bab mis wrote: >> > > 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. > -- > https://mail.python.org/mailman/listinfo/python-list have you checked the pysvn mailing list: http://pysvn.tigris.org/ds/viewForums.do -- Joel Goldstick http://joelgoldstick.com
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web