Tortoise SVN non-commit logging

Usually I make a few small changes for my source code, but I don’t want to make so far, as the changes are pretty trivial. The current method I'm using now is to log changes to a text file, and then copy the contents to the log when committed.

Is it possible to use Tortoise SVN (or any other SVN tool) to attach the log messages to the copy that I am currently working on when I edit, then when committing the log messages are automatically attached to the commit, so I don’t need to remember all the changes that I did so far?

+3
source share
3 answers

, , tortoiseSVN , . .

vanilla svn - commit.tmp, , .

EDIT:

EDIT EDIT: , . , , , -, . python, cmd

logs, , - commit script

for i in `ls logs`; do
    echo -n "$i: "
    cat logs/$i >> commitFile
done
svn commit -F commitFile

python

#!/usr/bin/python
import os
dirlisting = os.listdir('logs')
commitFile = open("commitfile.tmp", "w")
for i in dirlisting:
    log = open(i, 'r')
    commitFile.write(log.read())
    log.close()
os.execlp("svn", "svn", "commit", "-F", "commitfile.tmp")

, -, . .

, , , .

+1

diff ?

, , ? , , ( ).

+1

.

, , , , , Git ( ). SVN, , Git , .

0

Source: https://habr.com/ru/post/1780133/


All Articles