简体   繁体   中英

How do I detect SVN 1.7 conflicts before SVN update?

When using SVN 1.6 good old svn merge --dry-run --revision BASE:HEAD . would tell me.

Now with SVN 1.7 this merge won't work because the the WC is mixed revision (ie SVN update has not been run after commiting).

I want to know if any conflicts will occur before running the SVN update.

It seems a bit chicked and egg now.

Any ideas please?!

Try the --allow-mixed-revisions flag, like this:

svn merge --dry-run --revision BASE:HEAD . --allow-mixed-revisions

This works for me, with Subversion 1.8.3.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM