Logo Search packages:      
Sourcecode: hgsvn version File versions  Download package

def hgsvn::run::hgpullsvn::detect_overwritten_svn_branch (   wc_url,
  svn_rev 
)

Detect whether the current SVN branch was in a different location at
the given revision. This means the current branch was later overwritten
by another one.

Definition at line 41 of file hgpullsvn.py.

00041                                                   :
    """
    Detect whether the current SVN branch was in a different location at
    the given revision. This means the current branch was later overwritten
    by another one.
    """
    remote_url = get_svn_info(wc_url, svn_rev)['url']
    if remote_url != wc_url:
        msg = ("The current branch (%s) has been\noverwritten with contents from %s.\n"
            + "hgsvn is unable to fetch history of the original branch.\n"
            + "Also, you will have to do a separate 'hgsvnimport' to pull recent history.\n"
            ) % (wc_url, remote_url)
        raise OverwrittenSVNBranch(msg)


def pull_svn_rev(log_entry, current_rev, svn_wc, wc_url, wc_base):


Generated by  Doxygen 1.6.0   Back to index