jenndhemus / editra-plugins

Automatically exported from code.google.com/p/editra-plugins
0 stars 0 forks source link

svn committing multiple files fails #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. select multiple files
2. commit

What is the expected output? What do you see instead?
All files should be commited.

None are, it appears that the file names are getting truncated when they
are passed to the svn command here is my console output.

Console:
/sw/bin/svn commit -m Input performance improvements ain.py ages.py tc.py

It should be:
/sw/bin/svn commit -m Input performance improvements ed_main.py ed_pages.py
ed_stc.py

So it looks like 4 characters are being stripped off the beginning of each
file. Doing commits of single files still works fine without this happening.

Original issue reported on code.google.com by CodyPrec...@gmail.com on 8 Sep 2007 at 3:01

GoogleCodeExporter commented 8 years ago
I'm guessing that this is a problem with using os.path.commonprefix.  It looks 
like it counts partial filenames as 
part of a common prefix.  I guess I'll have to write my own that only uses full 
filenames.

Original comment by Kevin.Da...@gmail.com on 8 Sep 2007 at 2:24

GoogleCodeExporter commented 8 years ago
I just thought of an easy fix.  If the common prefix isn't a directory, I just 
need to do os.path.dirname on it to get 
the correct value.

Original comment by Kevin.Da...@gmail.com on 8 Sep 2007 at 2:29

GoogleCodeExporter commented 8 years ago
This works well now moving issue to verifed

Original comment by CodyPrec...@gmail.com on 16 Sep 2007 at 12:52