optimize _link files
authorDirk Müller <dmueller@suse.de>
Thu, 4 Nov 2010 13:41:40 +0000 (14:41 +0100)
committerMarcus Huewe <suse-tux@gmx.de>
Thu, 25 Nov 2010 21:43:42 +0000 (22:43 +0100)
commit596570cebbee997912dae27b17c82b8f160c35cc
treef0a6cf3a89b7b3cb5aa02d18612b3e37d437bff4
parent668a38e978961b0513a7fdaadf518e89634f7169
optimize _link files

On Thursday 04 November 2010, Sascha Peilicke wrote:

> Could you please send a patch file?

attached.

Greetings,
Dirk

From ac737b9ff8205fe3c320ee0b41b093c7ad92c348 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dmueller@suse.de>
Date: Thu, 4 Nov 2010 11:01:08 +0100
Subject: [PATCH] linkpac: Only include src_project if it differs

osc copypac copies _link files verbatim, so if they refer
to the same project, copying them should make them also
refer to the new project. This can be done by leaving
out the project part if it is the same like the destination
project
osc/core.py