fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update librarian
[redakcja.git]
/
apps
/
dvcs
/
models.py
diff --git
a/apps/dvcs/models.py
b/apps/dvcs/models.py
index
ec64794
..
e82ad19
100644
(file)
--- a/
apps/dvcs/models.py
+++ b/
apps/dvcs/models.py
@@
-329,7
+329,7
@@
class Document(models.Model):
else:
return None
- @transaction.
commit_on_success
+ @transaction.
atomic
def prepend_history(self, other):
"""Takes over the the other document's history and prepends to own."""