Hi,

> Any help in getting git+Pootle work together will be greatly 
> appreciated. (btw, the irc#pootle help has been fantastic :)

hehe - thanks for your patience and efforts in testing it!
I found the missing part of the version control patch, that was only here on
the systems, where I tested the version control support - but it never made its
way to the repository :(

It is now committed as revision [6641].

Please check, if git now works for you!

regards,
Lars
Index: indexpage.py
===================================================================
--- indexpage.py	(Revision 6528)
+++ indexpage.py	(Arbeitskopie)
@@ -744,12 +744,14 @@
         molink = {"href": moname, "text": self.localize('MO file')}
         actionlinks.append(molink)
     if "update" in linksrequired and "admin" in self.rights:
-      if versioncontrol.hasversioning(os.path.join(self.project.podir, self.dirname)):
+      if versioncontrol.hasversioning(os.path.join(self.project.podir,
+              self.dirname, basename)):
         # l10n: Update from version control (like CVS or Subversion)
         updatelink = {"href": "index.html?editing=1&doupdate=1&updatefile=%s" % (basename), "text": self.localize('Update')}
         actionlinks.append(updatelink)
     if "commit" in linksrequired and "commit" in self.rights:
-      if versioncontrol.hasversioning(os.path.join(self.project.podir, self.dirname)):
+      if versioncontrol.hasversioning(os.path.join(self.project.podir,
+              self.dirname, basename)):
         # l10n: Commit to version control (like CVS or Subversion)
         commitlink = {"href": "index.html?editing=1&docommit=1&commitfile=%s" % (basename), "text": self.localize('Commit')}
         actionlinks.append(commitlink)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to