Category : pysvn

setup.py for py2exe: setup(console=[‘TagProject.py’], options={‘py2exe’:{‘dist_dir’:’AriesTools’} } ) When I called the exe, I got the error: Traceback (most recent call last): File "TagProject.py", line 7, in <module> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible ..

Read more

I’d like to commit a file using pysvn. Here is the code from the documentation: import pysvn # edit the file foo.txt f = open(‘./examples/pysvn/foo.txt’, ‘w’) f.write(‘Sample versioned file via pythonn’) f.close() # checkin the change with a log message client = pysvn.Client() client.checkin([‘./examples/pysvn’], ‘Corrected spelling of python in foo.txt’) Do I have to open ..

Read more

I have a function that connects to an SVN database and checkouts a folder/file. When given the correct login info, it proceeds as it should. However, when given the wrong login information, pysvn raises an exception and crashes. I’m trying to catch and handle the error, but I can’t seem to correctly catch it: Code ..

Read more