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

  • Home
  • SEARCH
  • 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

Ask A Question

Stats

  • Questions 242k
  • Answers 242k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Why should functions return values of a consistent type? To… May 13, 2026 at 7:36 am
  • Editorial Team
    Editorial Team added an answer Method overloading is determined at compile time. That means that… May 13, 2026 at 7:36 am
  • Editorial Team
    Editorial Team added an answer I think that you need to add the following to… May 13, 2026 at 7:36 am

Related Questions

Is it possible in SVN 1.6 to track where a commit was merged. I'm
I am using svn 1.6, is it possible to have: ? source directory shared\code\depends\make1.3
I'm new to SVN. After working on a branch for a day or so,
I am trying to convert a SourceForge project from Subversion to Git. According to
Heres the problem. I use around three different machines for development. My partner is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.