Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 293037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:14:06+00:00 2026-05-12T06:14:06+00:00

Is it possible in SVN 1.6 to track where a commit was merged. I’m

  • 0

Is it possible in SVN 1.6 to track where a commit was merged. I’m especially interesting in UI based solution (Eclipse plugin will be great).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:14:06+00:00Added an answer on May 12, 2026 at 6:14 am

    Thank you for all answered person (special thanks to derobert and Jim T). I write my own code using svnkit 1.2.x that do what I exactly need.

    private static void showMergedRevision(String pFromUrl, String pToUrl) throws SVNException {
        List<String> folders= new ArrayList<String>();
        folders.add("Folder1");
        ...
    
        SVNRepositoryFactoryImpl.setup();
    
         String name="user";
         String password="password";
    
         ISVNOptions options = SVNWCUtil.createDefaultOptions( true );
    
         ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager(name, password);
    
         SVNClientManager ourClientManager = SVNClientManager.newInstance( options , authManager );
    
         final Set<Long> mergedRevision = new HashSet<Long>();        
         for(String folder : folders){
             SVNURL svnFrom = SVNURL.parseURIDecoded(pFromUrl + "/" + folder);
             SVNURL svnTo = SVNURL.parseURIDecoded(pToUrl+ "/" + folder);
             ISVNLogEntryHandler mergedLogger = new ISVNLogEntryHandler() {
                public void handleLogEntry(SVNLogEntry pParamSVNLogEntry) throws SVNException {
                    mergedRevision.add(pParamSVNLogEntry.getRevision());
                }
            };
            ourClientManager.getDiffClient().doGetLogMergedMergeInfo(svnTo, SVNRevision.HEAD, svnFrom, SVNRevision.HEAD, false, null, mergedLogger);
         }
    
         System.out.println(String.format("Tracking merges from [%s] to [%s].", pFromUrl, pToUrl));
         System.out.println("Comparing folders: " + folders);
    
         SVNURL svnUrlorg = SVNURL.parseURIDecoded(pFromUrl);
         ISVNLogEntryHandler histroyLogger= new ISVNLogEntryHandler() {
            public void handleLogEntry(SVNLogEntry pParamSVNLogEntry) throws SVNException {
                if (pParamSVNLogEntry.getRevision() < 0){
                    // Sometimes got -1 null null null values. Skip them
                    return;
                }
                final boolean merged = mergedRevision.contains(pParamSVNLogEntry.getRevision());
                System.out.println(String.format("%s %s: %s %s %s", merged ? "[+]": "[-]", 
                        pParamSVNLogEntry.getRevision(), 
                        pParamSVNLogEntry.getAuthor(), pParamSVNLogEntry.getDate(), 
                        pParamSVNLogEntry.getMessage()));
            }
        }; 
        ourClientManager.getLogClient().doLog(svnUrlorg, null, SVNRevision.HEAD, SVNRevision.create(0), SVNRevision.HEAD, true, false, false, -1, null, histroyLogger);
    }
    

    The output will be:

    [-] 7210: boa 03.07.2009
    [-] 7211: boa 03.07.2009
    [+] 7215: boa 03.07.2009

    [+] means merged revision, [-] – unmerged.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using SVN, Visual Studio, and VisualSVN plugin for VS. Is it possible
Possible Duplicate: Ignore SVN files when exporting a WAR file from Eclipse? Using eclipse
Is it possible to see my comment to SVN commit without SVN client? I
Possible Duplicate: SVN / Subversion 1.7 and Eclipse Subversive & JavaHL I'm using Subversion
Is it possible to make svn run some command before every commit? I have
Possible Duplicate: SVN plugins for Eclipse - Subclipse vs. Subversive I've been using Subclipse
I know that it's possible to get SVN to send emails after a commit
Is it possible in SVN to set write permission for a single file, while
Is it possible to configure svn such that it automatically sets the svn:keywords property
Possible Duplicate: Is there a tool that can display a SVN repository visually (

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.