##// END OF EJS Templates
convert: svn: abort if module stat fails
Brendan Cully -
r4773:cfbce076 default
parent child Browse files
Show More
@@ -123,6 +123,8 b' class convert_svn(converter_source):'
123 if not latest:
123 if not latest:
124 latest = svn.ra.get_latest_revnum(self.ra)
124 latest = svn.ra.get_latest_revnum(self.ra)
125 dirent = svn.ra.stat(self.ra, self.module, latest)
125 dirent = svn.ra.stat(self.ra, self.module, latest)
126 if not dirent:
127 raise util.Abort('module %s not found in revision %d' % (self.module, latest))
126 self.last_changed = dirent.created_rev
128 self.last_changed = dirent.created_rev
127
129
128 self.head = self.rev(self.last_changed)
130 self.head = self.rev(self.last_changed)
General Comments 0
You need to be logged in to leave comments. Login now