Subversion doesn't see my updates via python script

I wrote the Django command in the following lines:

def handle(self, *args, **options): from django.conf import settings import subprocess full_path = settings.PROJECT_ROOT+"/somedir/" subprocess.Popen('make -C '+full_path ,shell=True).wait() 

The makefile executes this pseudo code:

 recompile & cp -r External/ somedir/somefiles to Projectroot/ somedir/somefiles 

This works exactly as expected, however, something strange is happening:

Each time I run the command, the files are overwritten and the timestamp is updated. However, subversion does not recognize my changes, but the django collectstatic command does infact ..

Perhaps I need to somehow force the svn update?

+4
source share
1 answer

This is too localized. Vote to close and save it as a link for those who are interested.

0
source

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


All Articles