Question

Sur un serveur, j'ai utilisé la commande d'importation svn pour placer des fichiers SVN.

J'ai vérifié les fichiers sur ma machine locale, a fait quelques changements, puis le dos engagé.

Maintenant, je veux mettre à jour la copie du serveur des fichiers, mais en utilisant svn update, il montre « skipped '.' » et des spectacles de svn status « svn: warning: '.' is not a working copy ».

Était-ce utile?

La solution

Importation dans le svn ne fait pas ce que vous importez une copie de travail. Vous devez vérifier sur le serveur comme vous le faisiez localement. A partir de là il sera une copie de travail et vous pouvez utiliser la mise à jour.

Autres conseils

if you enter

 svn update

and it says that is not a working copy, try looking at your path, look for a level up or down where you are (in the console use:

pwd

that will tell you where you are) and finally just double check that you are actually in a directory of the project, remember empty folders (structure ones) are not meant to be recognized, they just "draw" structures so paths can be more readables, so its basically that, the containing folder is not having files under source control

Your SVN directory is the one that has a folder (hidden) named as '.svn' take a quick look and corroborate you are on the right path

You have to do an SVN Update first to merge and make a the directory a working copy. Then Commit to commit your changes. You can also sometimes use the SVN Cleanup command to resolve similar kinds of issues.

1) Type in the command 'svn update'

2) Choose the option 'theirs-conflict' which will be the command 'tc'

Now you have a new copy of the file, so you can edit and do whatever you need to this file!

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top