- Timestamp:
- Jan 6, 2021 11:13:16 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIpath.py
r4687 r4732 596 596 if loadpath: 597 597 fpath = os.path.join(loadpath,rpath,filename) 598 svntmp = os.path.join(loadpath,'.svn','tmp') 598 599 else: 599 600 fpath = os.path.join(path2GSAS2,rpath,filename) 601 svntmp = os.path.join(path2GSAS2,'.svn','tmp') 602 # fix up problems with missing empty directories 603 if not os.path.exists(fpath): 604 print('Repairing missing directory',fpath) 605 cmd = [svn,'revert',fpath] 606 s = subprocess.Popen(cmd,stderr=subprocess.PIPE) 607 out,err = MakeByte2str(s.communicate()) 608 if out: print(out) 609 if err: print(err) 610 if not os.path.exists(svntmp): 611 print('Repairing missing directory',svntmp) 612 cmd = ['mkdir',svntmp] 613 s = subprocess.Popen(cmd,stderr=subprocess.PIPE) 614 out,err = MakeByte2str(s.communicate()) 615 if out: print(out) 616 if err: print(err) 617 600 618 cmd = [svn,'switch',URL,fpath, 601 619 '--non-interactive','--trust-server-cert',
Note: See TracChangeset
for help on using the changeset viewer.