svn cp of directory + modifcation == "not found in manifest"

Paul Sargent avatarPaul Sargent created an issue

This is the issue talked about in http://groups.google.com/group/hgsubversion/browse_thread/thread/d7a0618f10fd46f6

Attached is a script that will create an SVN repository that will cause hgsubversion to fail with the message "<filename@rev> not found in manifest"

The key points appear to be:

  • A file must be modified inside a directory that has been copied with 'svn cp' in the same changeset
  • The copy has to be of the form 'svn cp <URL> <PATH>'. A URL to URL copy doesn't reproduce the bug.
  • The copy must be from a URL outside the normal trunk/branches/tags hierarchy. In this case it's from an area called 'vendor'

I've reproduced the issue with Mercurial version 1.4.3 and hgsubversion version 8522f8ef799e (latest versions of both as of writing)

Comments (3)

  1. Anonymous

    I'm having the same error but it is not triggered but svn cp.

    It is a svn revision whereas the same file as deleted and then added back again:

    D trunk/nanobsd/Files/usr/local/etc/lighttpd/lighttpd.conf A+ trunk/nanobsd/Files/usr/local/etc/lighttpd/lighttpd.conf

    The repo I'm trying to clone is an opensource one: https://freenas.svn.sourceforge.net/svnroot/freenas

    This happens at revision r5683.

    Let me know if I need to open a new issue or there is a workaround, or even it is a problem on my end.

    Thank you.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.